X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebrash.c;h=73cc7d49a02c972508aad6b0e921ff5a8e5f05b2;hb=cf66499bac7c49c5bdd363a2c927295fa92f547a;hp=978ec6f08e5f7b8471912a7e6ce6cf11bbb4fd00;hpb=6ba9698e88c0283e40fa5980a1a6b551fff2d597;p=idzebra-moved-to-github.git diff --git a/index/zebrash.c b/index/zebrash.c index 978ec6f..73cc7d4 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,5 +1,5 @@ -/* $Id: zebrash.c,v 1.38 2006-05-19 13:49:34 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: zebrash.c,v 1.42 2007-01-15 15:10:17 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ 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 + */ /* @@ -351,7 +351,7 @@ static int cmd_end_trans( char *args[], WRBUF outbuff) static int cmd_record_insert( char *args[], WRBUF outbuff) { - SYSNO sysno=0; + zint sysno = 0; int rc; char *rec=restargs(args,1); @@ -764,7 +764,7 @@ static void Zerrors (WRBUF outbuff) * The shell */ -void shell() +void shell(void) { int rc=0; WRBUF outbuff=wrbuf_alloc(); @@ -827,7 +827,7 @@ void shell() } /* shell() */ -static void usage() +static void usage(void) { printf ("usage:\n"); printf ("zebrash [-c config]\n");