X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=rset%2Frsisamc.c;h=9e5d426c990e2631f9c3a01571573ff3e9d938c3;hp=beecdc5e0afd58a6abed1d564d9ba30d22bc6dbe;hb=d02c4c703a93e0ad3f4ccde4519879f1f57a6824;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e diff --git a/rset/rsisamc.c b/rset/rsisamc.c index beecdc5..9e5d426 100644 --- a/rset/rsisamc.c +++ b/rset/rsisamc.c @@ -1,8 +1,5 @@ -/* $Id: rsisamc.c,v 1.41 2006-05-10 08:13:33 adam Exp $ - Copyright (C) 1995-2005 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -15,11 +12,14 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -33,7 +33,7 @@ static int r_read (RSFD rfd, void *buf, TERMID *term); static int r_write (RSFD rfd, const void *buf); static void r_pos (RSFD rfd, double *current, double *total); -static const struct rset_control control = +static const struct rset_control control = { "isamc", r_delete, @@ -144,6 +144,7 @@ static void r_pos (RSFD rfd, double *current, double *total) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab