mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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.
This commit is contained in:
parent
19976ce3a6
commit
eb0a30f4c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90095
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user