diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-12-21 18:36:44 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-12-21 18:36:44 +0000 |
commit | 1d2f995ed75b89b0e2c41ae1390fc1d48f5f733c (patch) | |
tree | 5005453e09b2c15758c061549071d42332849cc5 /lib | |
parent | 1d0c7cf264396a79797cc97bb4264b6665e502f2 (diff) | |
download | FreeBSD-src-1d2f995ed75b89b0e2c41ae1390fc1d48f5f733c.zip FreeBSD-src-1d2f995ed75b89b0e2c41ae1390fc1d48f5f733c.tar.gz |
Add a missing #ifdef YP/#endif pair so that this module will
compile without -DYP.
Pointed out by: Wolfram Schneider
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/getgrent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 34c8d06..b4829fe 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -290,9 +290,11 @@ grscan(search, gid, name) break; #endif if (!(cp = strsep(&bp, ":\n"))) +#ifdef YP if (_ypfound) return(1); else +#endif continue; #ifdef YP /* |