diff options
-rw-r--r-- | usr.sbin/ypserv/revnetgroup/hash.h | 3 | ||||
-rw-r--r-- | usr.sbin/ypserv/revnetgroup/revnetgroup.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/revnetgroup/hash.h b/usr.sbin/ypserv/revnetgroup/hash.h index 264a3fd2ca4..edfadffec48 100644 --- a/usr.sbin/ypserv/revnetgroup/hash.h +++ b/usr.sbin/ypserv/revnetgroup/hash.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hash.h,v 1.2 2002/02/16 21:28:11 millert Exp $ */ +/* $OpenBSD: hash.h,v 1.3 2013/12/05 14:20:53 jca Exp $ */ /* * Copyright (c) 1995 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -62,6 +62,7 @@ struct group_entry { extern void store( struct group_entry ** , char *, char * ); extern void mstore( struct member_entry ** , char *, char *, char * ); +extern void ngstore( struct group_entry **, char *, char * ); extern char *lookup( struct group_entry **, char * ); extern void __endnetgrent( void ); extern void __setnetgrent( char * ); diff --git a/usr.sbin/ypserv/revnetgroup/revnetgroup.c b/usr.sbin/ypserv/revnetgroup/revnetgroup.c index e7b64d0e1db..4db19940c70 100644 --- a/usr.sbin/ypserv/revnetgroup/revnetgroup.c +++ b/usr.sbin/ypserv/revnetgroup/revnetgroup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: revnetgroup.c,v 1.10 2011/04/06 11:36:26 miod Exp $ */ +/* $OpenBSD: revnetgroup.c,v 1.11 2013/12/05 14:20:53 jca Exp $ */ /* * Copyright (c) 1995 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -42,6 +42,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #include <util.h> #include <errno.h> #include <err.h> |