diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 17:04:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 17:04:03 +0000 |
commit | e0daf4e242491907fa3fb61c682b780c014d1489 (patch) | |
tree | 6c280fabd75bcfb993770d84db2fd1583b360b7b /lib/libc/gen/getnetgrent.c | |
parent | dce32c6ce950b9687fb2c1a0571a6509fb3d2298 (diff) |
proper protos
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
-rw-r--r-- | lib/libc/gen/getnetgrent.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index dbcf4511a3c..d7ad2ea8d2b 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnetgrent.c,v 1.8 1998/08/14 21:39:28 deraadt Exp $ */ +/* $OpenBSD: getnetgrent.c,v 1.9 2000/08/24 17:04:02 deraadt Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.8 1998/08/14 21:39:28 deraadt Exp $"; +static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.9 2000/08/24 17:04:02 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -45,6 +45,9 @@ static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.8 1998/08/14 21:39:28 deraadt #include <ctype.h> #include <stdlib.h> #include <db.h> +#ifdef YP +#include <rpcsvc/ypclnt.h> +#endif #define _NG_STAR(s) (((s) == NULL || *(s) == '\0') ? _ngstar : s) #define _NG_EMPTY(s) ((s) == NULL ? "" : s) |