diff options
Diffstat (limited to 'distrib/utils/libhack/getnetgr.c')
-rw-r--r-- | distrib/utils/libhack/getnetgr.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/distrib/utils/libhack/getnetgr.c b/distrib/utils/libhack/getnetgr.c new file mode 100644 index 00000000000..31a928c1e45 --- /dev/null +++ b/distrib/utils/libhack/getnetgr.c @@ -0,0 +1,33 @@ +/* $NetBSD: getnetgr.c,v 1.2 1995/10/13 18:10:26 gwr Exp $ */ + +/* + * Just stub these out, so it looks like + * we are not in any any netgroups. + */ + +void +endnetgrent() +{ +} + +void +setnetgrent(ng) + const char *ng; +{ +} + +int +getnetgrent(host, user, domain) + const char **host; + const char **user; + const char **domain; +{ + return 0; +} + +int +innetgr(grp, host, user, domain) + const char *grp, *host, *user, *domain; +{ + return 0; +} |