X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=rset%2Frsisamc.c;h=9e5d426c990e2631f9c3a01571573ff3e9d938c3;hp=a9a8c80c2f19f05ca675f5c9f28564978ab6fb28;hb=d02c4c703a93e0ad3f4ccde4519879f1f57a6824;hpb=89d3a004b7c651fd5673abfc192e1472dc4d4197 diff --git a/rset/rsisamc.c b/rset/rsisamc.c index a9a8c80..9e5d426 100644 --- a/rset/rsisamc.c +++ b/rset/rsisamc.c @@ -1,8 +1,5 @@ -/* $Id: rsisamc.c,v 1.43 2007-01-15 15:10:19 adam Exp $ - Copyright (C) 1995-2007 - 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 @@ -20,6 +17,9 @@ 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