summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-01 23:16:39 +0000
committerbde <bde@FreeBSD.org>2002-02-01 23:16:39 +0000
commit986de447b076da15539f4b6b2539d2b1b102803f (patch)
treedff666c5a5ab0df4b5ae32863fc6b4203722ebd6
parent846d4b294fa1f5d9774046d11ebd811510d1c9a7 (diff)
downloadFreeBSD-src-986de447b076da15539f4b6b2539d2b1b102803f.zip
FreeBSD-src-986de447b076da15539f4b6b2539d2b1b102803f.tar.gz
Fixed syntax error in previous commit. It was non-fatal because it was
in conditional code that happens not to be compiled, and because gcc doesn't complain garbage after #endif by default. Fixed some style bugs in previous commit, 1.8 and 1.1.
-rw-r--r--lib/libc/gen/getgrouplist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c
index 5817feb..7e15bb8 100644
--- a/lib/libc/gen/getgrouplist.c
+++ b/lib/libc/gen/getgrouplist.c
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*/
+#if 0
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)getgrouplist.c 8.2 (Berkeley) 12/8/94";
-#endif /* LIBC_SCCS and not lint */$
+#endif /* LIBC_SCCS and not lint */
+#endif
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -52,8 +55,7 @@ getgrouplist(uname, agroup, groups, grpcnt)
int *grpcnt;
{
struct group *grp;
- int i, ngroups;
- int ret, maxgroups;
+ int i, maxgroups, ngroups, ret;
ret = 0;
ngroups = 0;
OpenPOWER on IntegriCloud