diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1995-04-04 05:36:16 +0000 | 
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1995-04-04 05:36:16 +0000 | 
| commit | 958f4e365d0f7abfbe12a635882dcf767cdcc3d1 (patch) | |
| tree | a09863032a50b1e4a5a2e09112bd00a360d9aa08 /lib/libc/gen/getgrent.c | |
| parent | 9a8496fd7b27a6e89adeda76584b04d6138dd887 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/getgrent.c')
| -rw-r--r-- | lib/libc/gen/getgrent.c | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index dfcabb0f34db..8c603617c0f0 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -46,9 +46,12 @@ static struct group _gr_group;  static int _gr_stayopen;  static int grscan(), start_gr();  #ifdef YP +#include <rpc/rpc.h> +#include <rpcsvc/yp_prot.h> +#include <rpcsvc/ypclnt.h>  static int _gr_stepping_yp;  static int _gr_yp_enabled; -static int _getypgroup(struct group *, const char *, const char *); +static int _getypgroup(struct group *, const char *, char *);  static int _nextypgroup(struct group *);  #endif @@ -316,7 +319,7 @@ _gr_breakout_yp(struct group *gr, char *result)  static char *_gr_yp_domain;  static int -_getypgroup(struct group *gr, const char *name, const char *map) +_getypgroup(struct group *gr, const char *name, char *map)  {  	char *result, *s;  	static char resultbuf[1024]; | 
