From: Jim Meyering Date: Sat, 6 Jan 1996 06:10:08 +0000 (+0000) Subject: Remove NGROUPS_MAX junk. It wasn't being used. X-Git-Tag: v2.22-rc1~347^2~10^2~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c3b4dfbced3a13fb687746aaacd3ac13cee1169;p=thirdparty%2Futil-linux.git Remove NGROUPS_MAX junk. It wasn't being used. --- diff --git a/login-utils/su.c b/login-utils/su.c index 1464d3b2a4..44cacbb3e6 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -94,18 +94,11 @@ static void log_su (); #ifdef _POSIX_VERSION #include -#ifdef NGROUPS_MAX -#undef NGROUPS_MAX -#endif -#define NGROUPS_MAX sysconf (_SC_NGROUPS_MAX) #else /* not _POSIX_VERSION */ struct passwd *getpwuid (); struct group *getgrgid (); uid_t getuid (); #include -#if !defined(NGROUPS_MAX) && defined(NGROUPS) -#define NGROUPS_MAX NGROUPS -#endif #endif /* not _POSIX_VERSION */ #ifndef HAVE_ENDGRENT