Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen specifically include stdarg/varargs.h
details: https://anonhg.NetBSD.org/src/rev/a26df66ad92c
branches: trunk
changeset: 472012:a26df66ad92c
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Apr 18 02:04:04 1999 +0000
description:
specifically include stdarg/varargs.h
diffstat:
lib/libc/gen/getgrent.c | 10 ++++++++--
lib/libc/gen/getnetgrent.c | 10 ++++++++--
lib/libc/gen/getpwent.c | 10 ++++++++--
lib/libc/gen/getusershell.c | 10 ++++++++--
4 files changed, 32 insertions(+), 8 deletions(-)
diffs (124 lines):
diff -r c8bbfd52dec8 -r a26df66ad92c lib/libc/gen/getgrent.c
--- a/lib/libc/gen/getgrent.c Sun Apr 18 01:53:15 1999 +0000
+++ b/lib/libc/gen/getgrent.c Sun Apr 18 02:04:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getgrent.c,v 1.34 1999/01/26 01:08:06 lukem Exp $ */
+/* $NetBSD: getgrent.c,v 1.35 1999/04/18 02:04:04 lukem Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)getgrent.c 8.2 (Berkeley) 3/21/94";
#else
-__RCSID("$NetBSD: getgrent.c,v 1.34 1999/01/26 01:08:06 lukem Exp $");
+__RCSID("$NetBSD: getgrent.c,v 1.35 1999/04/18 02:04:04 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -56,6 +56,12 @@
#include <string.h>
#include <syslog.h>
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#ifdef HESIOD
#include <hesiod.h>
#endif
diff -r c8bbfd52dec8 -r a26df66ad92c lib/libc/gen/getnetgrent.c
--- a/lib/libc/gen/getnetgrent.c Sun Apr 18 01:53:15 1999 +0000
+++ b/lib/libc/gen/getnetgrent.c Sun Apr 18 02:04:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getnetgrent.c,v 1.22 1999/01/22 03:25:31 lukem Exp $ */
+/* $NetBSD: getnetgrent.c,v 1.23 1999/04/18 02:04:04 lukem Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getnetgrent.c,v 1.22 1999/01/22 03:25:31 lukem Exp $");
+__RCSID("$NetBSD: getnetgrent.c,v 1.23 1999/04/18 02:04:04 lukem Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -54,6 +54,12 @@
#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>
#endif
+
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
#ifdef __weak_alias
__weak_alias(endnetgrent,_endnetgrent);
diff -r c8bbfd52dec8 -r a26df66ad92c lib/libc/gen/getpwent.c
--- a/lib/libc/gen/getpwent.c Sun Apr 18 01:53:15 1999 +0000
+++ b/lib/libc/gen/getpwent.c Sun Apr 18 02:04:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getpwent.c,v 1.40 1999/01/26 01:08:06 lukem Exp $ */
+/* $NetBSD: getpwent.c,v 1.41 1999/04/18 02:04:05 lukem Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)getpwent.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: getpwent.c,v 1.40 1999/01/26 01:08:06 lukem Exp $");
+__RCSID("$NetBSD: getpwent.c,v 1.41 1999/04/18 02:04:05 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -68,6 +68,12 @@
#include <rpcsvc/ypclnt.h>
#endif
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#include "pw_private.h"
#if defined(YP) || defined(HESIOD)
diff -r c8bbfd52dec8 -r a26df66ad92c lib/libc/gen/getusershell.c
--- a/lib/libc/gen/getusershell.c Sun Apr 18 01:53:15 1999 +0000
+++ b/lib/libc/gen/getusershell.c Sun Apr 18 02:04:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getusershell.c,v 1.17 1999/01/25 01:09:34 lukem Exp $ */
+/* $NetBSD: getusershell.c,v 1.18 1999/04/18 02:04:05 lukem Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)getusershell.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: getusershell.c,v 1.17 1999/01/25 01:09:34 lukem Exp $");
+__RCSID("$NetBSD: getusershell.c,v 1.18 1999/04/18 02:04:05 lukem Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -56,6 +56,12 @@
#include <stringlist.h>
#include <unistd.h>
+#ifdef __STDC__
+#include <stdarg.h>
+#else
+#include <varargs.h>
+#endif
+
#ifdef HESIOD
#include <hesiod.h>
#endif
Home |
Main Index |
Thread Index |
Old Index