From 1bd4094341bcada53540b6f51833c30d61f1dcd6 Mon Sep 17 00:00:00 2001 From: Lucien Van Elsen Date: Wed, 4 Dec 1991 08:25:09 +0000 Subject: Converted back to ANSI C (with ifdef's for standard C) --- server/common.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'server/common.c') diff --git a/server/common.c b/server/common.c index dc8ed92..7d74ca5 100644 --- a/server/common.c +++ b/server/common.c @@ -15,22 +15,24 @@ #ifndef lint #ifndef SABER -static const char rcsid_common_c[] = - "$Header$"; -#endif SABER -#endif lint +static char rcsid_common_c[] = + "$Id$"; +#endif /* SABER */ +#endif /* lint */ +#include #include -#include #include -#include "zserver.h" +#include +#include +#include "unix.h" /* common routines for the server */ /* copy the string into newly allocated area */ char * -strsave (const char *sp) +strsave (Zconst char *sp) { register char *ret; @@ -45,7 +47,7 @@ strsave (const char *sp) /* generic string hash function */ unsigned long -hash (const char *string) +hash (Zconst char *string) { register unsigned long hval = 0; register char cp; -- cgit v1.2.3