From dbe60280198fbc3d887583459efc993e85fcd7be Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Thu, 14 Oct 1993 09:12:00 +0000 Subject: [PATCH] Include <stdarg.h> if HAVE_STDARG_H. --- src/server/admin.c | 7 +++++-- src/server/conference.c | 7 +++++-- src/server/dbck-cache.c | 7 +++++-- src/server/internal-connections.c | 7 +++++-- src/server/membership.c | 13 +++++++++---- src/server/memory.c | 7 +++++-- src/server/person.c | 7 +++++-- src/server/prot-a-parse.c | 7 +++++-- src/server/ram-output.c | 7 +++++-- src/server/ram-parse.c | 7 +++++-- src/server/regex-match.c | 7 +++++-- src/server/send-async.c | 7 +++++-- src/server/session.c | 7 +++++-- src/server/simple-cache.c | 7 +++++-- src/server/text-garb.c | 7 +++++-- src/server/text.c | 7 +++++-- 16 files changed, 84 insertions(+), 34 deletions(-) diff --git a/src/server/admin.c b/src/server/admin.c index 08b3e6e63..4a5418a07 100644 --- a/src/server/admin.c +++ b/src/server/admin.c @@ -1,5 +1,5 @@ /* - * $Id: admin.c,v 0.9 1993/10/10 22:36:40 ceder Exp $ + * $Id: admin.c,v 0.10 1993/10/14 09:10:43 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,12 +28,15 @@ * Administrative calls. */ -static char *rcsid = "$Id: admin.c,v 0.9 1993/10/10 22:36:40 ceder Exp $"; +static char *rcsid = "$Id: admin.c,v 0.10 1993/10/14 09:10:43 ceder Exp $"; #include "rcs.h" USE(rcsid); #include <stdio.h> #include <setjmp.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "misc-types.h" #include "kom-types.h" diff --git a/src/server/conference.c b/src/server/conference.c index 348227ca4..b3944cea0 100644 --- a/src/server/conference.c +++ b/src/server/conference.c @@ -1,5 +1,5 @@ /* - * $Id: conference.c,v 0.20 1993/10/10 17:03:43 ceder Exp $ + * $Id: conference.c,v 0.21 1993/10/14 09:10:48 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * All atomic calls that deals with conferences. */ -static char *rcsid = "$Id: conference.c,v 0.20 1993/10/10 17:03:43 ceder Exp $"; +static char *rcsid = "$Id: conference.c,v 0.21 1993/10/14 09:10:48 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -36,6 +36,9 @@ USE(rcsid); #include <stdio.h> #include <time.h> #include <setjmp.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "kom-types.h" #include "log.h" diff --git a/src/server/dbck-cache.c b/src/server/dbck-cache.c index 1924afed1..87f8c2d1f 100644 --- a/src/server/dbck-cache.c +++ b/src/server/dbck-cache.c @@ -1,5 +1,5 @@ /* - * $Id: dbck-cache.c,v 0.14 1993/10/13 00:18:09 ceder Exp $ + * $Id: dbck-cache.c,v 0.15 1993/10/14 09:10:54 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -32,7 +32,7 @@ * Also save time as a time_t instead of a struct tm. */ -static char *rcsid = "$Id: dbck-cache.c,v 0.14 1993/10/13 00:18:09 ceder Exp $"; +static char *rcsid = "$Id: dbck-cache.c,v 0.15 1993/10/14 09:10:54 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -58,6 +58,9 @@ USE(rcsid); #ifdef TIME_SYNC # include <sys/resource.h> #endif +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "exp.h" #include "misc-types.h" diff --git a/src/server/internal-connections.c b/src/server/internal-connections.c index b9f2bd479..d989f5dd4 100644 --- a/src/server/internal-connections.c +++ b/src/server/internal-connections.c @@ -1,5 +1,5 @@ /* - * $Id: internal-connections.c,v 0.14 1993/10/12 22:20:19 ceder Exp $ + * $Id: internal-connections.c,v 0.15 1993/10/14 09:10:58 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * Abstract routines on the data type Connection. */ -static char *rcsid = "$Id: internal-connections.c,v 0.14 1993/10/12 22:20:19 ceder Exp $"; +static char *rcsid = "$Id: internal-connections.c,v 0.15 1993/10/14 09:10:58 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -36,6 +36,9 @@ USE(rcsid); #include <time.h> #include <setjmp.h> #include <sys/types.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "exp.h" #include "s-string.h" diff --git a/src/server/membership.c b/src/server/membership.c index d9ad109f7..d8c3ef575 100644 --- a/src/server/membership.c +++ b/src/server/membership.c @@ -1,5 +1,5 @@ /* - * $Id: membership.c,v 0.13 1993/10/12 18:44:12 ceder Exp $ + * $Id: membership.c,v 0.14 1993/10/14 09:11:03 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -31,7 +31,7 @@ #define DEBUG_MARK_AS_READ -static char *rcsid = "$Id: membership.c,v 0.13 1993/10/12 18:44:12 ceder Exp $"; +static char *rcsid = "$Id: membership.c,v 0.14 1993/10/14 09:11:03 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -41,6 +41,11 @@ USE(rcsid); #endif #include <time.h> #include <setjmp.h> +#ifdef DEBUG_MARK_AS_READ +# ifdef HAVE_STDARG_H +# include <stdarg.h> +# endif +#endif #include "misc-types.h" #include "kom-types.h" @@ -57,8 +62,8 @@ USE(rcsid); #include "minmax.h" #ifdef DEBUG_MARK_AS_READ -#include "log.h" -#include "ram-output.h" +# include "log.h" +# include "ram-output.h" #endif /* diff --git a/src/server/memory.c b/src/server/memory.c index 340aca382..d5d75307b 100644 --- a/src/server/memory.c +++ b/src/server/memory.c @@ -1,5 +1,5 @@ /* - * $Id: memory.c,v 0.11 1993/10/12 18:45:02 ceder Exp $ + * $Id: memory.c,v 0.12 1993/10/14 09:11:08 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * These functions should be used instead of smalloc/srealloc. */ -static char *rcsid = "$Id: memory.c,v 0.11 1993/10/12 18:45:02 ceder Exp $"; +static char *rcsid = "$Id: memory.c,v 0.12 1993/10/14 09:11:08 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -36,6 +36,9 @@ USE(rcsid); #ifdef HAVE_STRING_H # include <string.h> #endif +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "exp.h" #include "kom-types.h" diff --git a/src/server/person.c b/src/server/person.c index 8aad8d502..15aa137a6 100644 --- a/src/server/person.c +++ b/src/server/person.c @@ -1,5 +1,5 @@ /* - * $Id: person.c,v 0.23 1993/10/13 00:13:58 ceder Exp $ + * $Id: person.c,v 0.24 1993/10/14 09:11:12 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * All atomic calls that deals with persons. */ -static char *rcsid = "$Id: person.c,v 0.23 1993/10/13 00:13:58 ceder Exp $"; +static char *rcsid = "$Id: person.c,v 0.24 1993/10/14 09:11:12 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -44,6 +44,9 @@ USE(rcsid); #include <unistd.h> /* for crypt() on Linux */ #include <setjmp.h> #include <sys/types.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "misc-types.h" #include "s-string.h" diff --git a/src/server/prot-a-parse.c b/src/server/prot-a-parse.c index e3e52c6fb..4b5b03a0f 100644 --- a/src/server/prot-a-parse.c +++ b/src/server/prot-a-parse.c @@ -1,5 +1,5 @@ /* - * $Id: prot-a-parse.c,v 0.13 1993/10/13 00:13:26 ceder Exp $ + * $Id: prot-a-parse.c,v 0.14 1993/10/14 09:11:18 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * BUG: Not all functions are used, I think. /ceder */ -static char *rcsid = "$Id: prot-a-parse.c,v 0.13 1993/10/13 00:13:26 ceder Exp $"; +static char *rcsid = "$Id: prot-a-parse.c,v 0.14 1993/10/14 09:11:18 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -36,6 +36,9 @@ USE(rcsid); #include <setjmp.h> #include <time.h> #include <sys/types.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "s-string.h" #include "kom-types.h" diff --git a/src/server/ram-output.c b/src/server/ram-output.c index 725d397df..f860c68b0 100644 --- a/src/server/ram-output.c +++ b/src/server/ram-output.c @@ -1,5 +1,5 @@ /* - * $Id: ram-output.c,v 0.7 1993/10/10 17:05:02 ceder Exp $ + * $Id: ram-output.c,v 0.8 1993/10/14 09:11:22 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -33,12 +33,15 @@ * (It worked - now saving is twice as fast.) */ -static char *rcsid = "$Id: ram-output.c,v 0.7 1993/10/10 17:05:02 ceder Exp $"; +static char *rcsid = "$Id: ram-output.c,v 0.8 1993/10/14 09:11:22 ceder Exp $"; #include "rcs.h" USE(rcsid); #include <stdio.h> #include <time.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "kom-types.h" #include "ram-output.h" diff --git a/src/server/ram-parse.c b/src/server/ram-parse.c index 44b91d65c..1f212b926 100644 --- a/src/server/ram-parse.c +++ b/src/server/ram-parse.c @@ -1,5 +1,5 @@ /* - * $Id: ram-parse.c,v 0.12 1993/10/12 18:48:21 ceder Exp $ + * $Id: ram-parse.c,v 0.13 1993/10/14 09:11:27 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -29,7 +29,7 @@ * ram-parse.c -- parse objects from disk file. */ -static char *rcsid = "$Id: ram-parse.c,v 0.12 1993/10/12 18:48:21 ceder Exp $"; +static char *rcsid = "$Id: ram-parse.c,v 0.13 1993/10/14 09:11:27 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -39,6 +39,9 @@ USE(rcsid); # include <string.h> #endif #include <time.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "kom-types.h" #include "ram-parse.h" diff --git a/src/server/regex-match.c b/src/server/regex-match.c index db2b4fe1b..7a9a22377 100644 --- a/src/server/regex-match.c +++ b/src/server/regex-match.c @@ -1,5 +1,5 @@ /* - * $Id: regex-match.c,v 1.6 1993/10/13 00:37:27 ceder Exp $ + * $Id: regex-match.c,v 1.7 1993/10/14 09:11:33 ceder Exp $ * Copyright (C) 1992 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -27,13 +27,16 @@ * Regexp matching */ -static char *rcsid = "$Id: regex-match.c,v 1.6 1993/10/13 00:37:27 ceder Exp $"; +static char *rcsid = "$Id: regex-match.c,v 1.7 1993/10/14 09:11:33 ceder Exp $"; #include "rcs.h" USE(rcsid); #include <stdio.h> #include <setjmp.h> #include <sys/types.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "s-string.h" #include "misc-types.h" diff --git a/src/server/send-async.c b/src/server/send-async.c index 6771848b2..bd6ae94a4 100644 --- a/src/server/send-async.c +++ b/src/server/send-async.c @@ -1,5 +1,5 @@ /* - * $Id: send-async.c,v 0.7 1993/10/10 17:05:18 ceder Exp $ + * $Id: send-async.c,v 0.8 1993/10/14 09:11:38 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,12 +28,15 @@ * Written by Per Cederqvist 1990-07-22--23 */ -static char *rcsid = "$Id: send-async.c,v 0.7 1993/10/10 17:05:18 ceder Exp $"; +static char *rcsid = "$Id: send-async.c,v 0.8 1993/10/14 09:11:38 ceder Exp $"; #include "rcs.h" USE(rcsid); #include <stdio.h> #include <setjmp.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "misc-types.h" #include "kom-types.h" diff --git a/src/server/session.c b/src/server/session.c index ddf76e3d5..301483f7a 100644 --- a/src/server/session.c +++ b/src/server/session.c @@ -1,5 +1,5 @@ /* - * $Id: session.c,v 0.16 1993/10/13 00:36:13 ceder Exp $ + * $Id: session.c,v 0.17 1993/10/14 09:11:42 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,12 +28,15 @@ * Session control and miscellaneous. */ -static char *rcsid = "$Id: session.c,v 0.16 1993/10/13 00:36:13 ceder Exp $"; +static char *rcsid = "$Id: session.c,v 0.17 1993/10/14 09:11:42 ceder Exp $"; #include "rcs.h" USE(rcsid); #include <stdio.h> #include <setjmp.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include <time.h> #include <sys/types.h> #ifndef HAVE_DIFFTIME diff --git a/src/server/simple-cache.c b/src/server/simple-cache.c index 2924b0269..d3f75a485 100644 --- a/src/server/simple-cache.c +++ b/src/server/simple-cache.c @@ -1,5 +1,5 @@ /* - * $Id: simple-cache.c,v 0.35 1993/10/13 00:20:14 ceder Exp $ + * $Id: simple-cache.c,v 0.36 1993/10/14 09:11:48 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -33,7 +33,7 @@ * New save algorithm by ceder. */ -static char *rcsid = "$Id: simple-cache.c,v 0.35 1993/10/13 00:20:14 ceder Exp $"; +static char *rcsid = "$Id: simple-cache.c,v 0.36 1993/10/14 09:11:48 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -55,6 +55,9 @@ USE(rcsid); # include "tmp-difftime.h" #endif #include <setjmp.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "exp.h" #include "misc-types.h" diff --git a/src/server/text-garb.c b/src/server/text-garb.c index 09a2a096e..ac52ef03f 100644 --- a/src/server/text-garb.c +++ b/src/server/text-garb.c @@ -1,5 +1,5 @@ /* - * $Id: text-garb.c,v 0.12 1993/10/13 00:21:15 ceder Exp $ + * $Id: text-garb.c,v 0.13 1993/10/14 09:11:55 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * Author: Per Cederqvist. */ -static char *rcsid = "$Id: text-garb.c,v 0.12 1993/10/13 00:21:15 ceder Exp $"; +static char *rcsid = "$Id: text-garb.c,v 0.13 1993/10/14 09:11:55 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -38,6 +38,9 @@ USE(rcsid); #ifndef HAVE_DIFFTIME # include "tmp-difftime.h" #endif +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "kom-types.h" #include "text-garb.h" diff --git a/src/server/text.c b/src/server/text.c index 9dae54675..617efdc42 100644 --- a/src/server/text.c +++ b/src/server/text.c @@ -1,5 +1,5 @@ /* - * $Id: text.c,v 0.21 1993/10/13 00:27:31 ceder Exp $ + * $Id: text.c,v 0.22 1993/10/14 09:12:00 ceder Exp $ * Copyright (C) 1991 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -28,7 +28,7 @@ * All atomic calls that deals with texts. */ -static char *rcsid = "$Id: text.c,v 0.21 1993/10/13 00:27:31 ceder Exp $"; +static char *rcsid = "$Id: text.c,v 0.22 1993/10/14 09:12:00 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -37,6 +37,9 @@ USE(rcsid); #include <time.h> #include <setjmp.h> #include <sys/types.h> +#ifdef HAVE_STDARG_H +# include <stdarg.h> +#endif #include "server/smalloc.h" #include "kom-types.h" -- GitLab