diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-10 16:46:26 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-07-10 16:46:26 +0000 |
commit | ec967c250a2512000f96d2a3c405988a961c9e86 (patch) | |
tree | 911d0df031d9cee7302925e1d4663578258f5606 /lib/libc | |
parent | cfe8cfd258e8ad3a2ae2330df047424fbf597b85 (diff) |
put another YP-only piece inside the ifdef
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/getpwent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 50c692014da..baf37a57a86 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -33,7 +33,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getpwent.c,v 1.21 2001/02/13 14:51:08 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: getpwent.c,v 1.22 2001/07/10 16:46:25 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -307,7 +307,9 @@ char *s; } #endif +#ifdef YP static int __getpwent_has_yppw = -1; +#endif struct passwd * getpwent() |