X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=rset%2Frsisamc.c;h=7a72020a5e62167cf336484be2bb7587b231167b;hb=2b86700a060db9a529b7227a1d3a9175564cd931;hp=a9a8c80c2f19f05ca675f5c9f28564978ab6fb28;hpb=89d3a004b7c651fd5673abfc192e1472dc4d4197;p=idzebra-moved-to-github.git diff --git a/rset/rsisamc.c b/rset/rsisamc.c index a9a8c80..7a72020 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) 2004-2013 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