summaryrefslogtreecommitdiffstats
path: root/libexec/revnetgroup/parse_netgroup.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-05-12 17:17:45 +0000
committerwpaul <wpaul@FreeBSD.org>1996-05-12 17:17:45 +0000
commit716641bdae47d54927443ba5501780528d499c88 (patch)
tree1d34470d678d2b8ecf2ba42ddbdf82e311e56d50 /libexec/revnetgroup/parse_netgroup.c
parent69278b0c5dc7ccde95c4e6d05783bf61464c8942 (diff)
downloadFreeBSD-src-716641bdae47d54927443ba5501780528d499c88.zip
FreeBSD-src-716641bdae47d54927443ba5501780528d499c88.tar.gz
Small touchups:
- Fix typos in comments in hash.c. - Remove unneeded and unused member from grouplist struct in hash.h. (Curiously, the compiler never complained about this even though the member was of type 'struct grps' which is not defined anywhere in this program.) - char ch -> int ch in revnetgroup.c. - char *argv[0]; -> char *argv[]; also in revnetgroup.c. - Force the user to specify at least one of the -u or -h flags and complain if they specify both.
Diffstat (limited to 'libexec/revnetgroup/parse_netgroup.c')
-rw-r--r--libexec/revnetgroup/parse_netgroup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/revnetgroup/parse_netgroup.c b/libexec/revnetgroup/parse_netgroup.c
index 99dfaeb..bc048e1 100644
--- a/libexec/revnetgroup/parse_netgroup.c
+++ b/libexec/revnetgroup/parse_netgroup.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "$Id$";
+static char sccsid[] = "$Id: parse_netgroup.c,v 1.1.1.1 1995/10/26 16:25:29 wpaul Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -51,6 +51,10 @@ static char sccsid[] = "$Id$";
#include <unistd.h>
#include "hash.h"
+#ifndef lint
+static const char rcsid[] = "$Id$";
+#endif
+
/*
* Static Variables and functions used by setnetgrent(), getnetgrent() and
* __endnetgrent().
OpenPOWER on IntegriCloud