X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzebrash.c;h=73cc7d49a02c972508aad6b0e921ff5a8e5f05b2;hp=9ac13992daec8f9030fe4cac9bd7223fe913c20d;hb=89d3a004b7c651fd5673abfc192e1472dc4d4197;hpb=4478d785b7769691261005c98063b98a5a5971b3 diff --git a/index/zebrash.c b/index/zebrash.c index 9ac1399..73cc7d4 100644 --- a/index/zebrash.c +++ b/index/zebrash.c @@ -1,5 +1,5 @@ -/* $Id: zebrash.c,v 1.39 2006-08-14 10:40:15 adam Exp $ - Copyright (C) 1995-2006 +/* $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. @@ -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");