summaryrefslogtreecommitdiff
path: root/usr.bin/groups
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1994-04-01 01:19:08 +0000
committerjtc <jtc@NetBSD.org>1994-04-01 01:19:08 +0000
commitabfeba19ee4a293e8cdb19f34b9db65a8a429b5b (patch)
tree8303e1e1799e774370c75293c8f205685fc3d586 /usr.bin/groups
parent8d1ace8b21eb8d6538685f5d2f43fd192aef4419 (diff)
Getgroup's second argument is now a gid_t ptr.
Diffstat (limited to 'usr.bin/groups')
-rw-r--r--usr.bin/groups/groups.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/groups/groups.c b/usr.bin/groups/groups.c
index 88880d33428..1330404b22c 100644
--- a/usr.bin/groups/groups.c
+++ b/usr.bin/groups/groups.c
@@ -39,7 +39,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)groups.c 5.4 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: groups.c,v 1.2 1993/08/01 18:14:58 mycroft Exp $";
+static char rcsid[] = "$Id: groups.c,v 1.3 1994/04/01 01:19:16 jtc Exp $";
#endif /* not lint */
/*
@@ -47,11 +47,13 @@ static char rcsid[] = "$Id: groups.c,v 1.2 1993/08/01 18:14:58 mycroft Exp $";
*/
#include <sys/param.h>
+#include <sys/types.h>
+#include <unistd.h>
#include <grp.h>
#include <pwd.h>
#include <stdio.h>
-int groups[NGROUPS];
+gid_t groups[NGROUPS];
main(argc, argv)
int argc;