]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Remove NGROUPS_MAX junk. It wasn't being used.
authorJim Meyering <jim@meyering.net>
Sat, 6 Jan 1996 06:10:08 +0000 (06:10 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 6 Jan 1996 06:10:08 +0000 (06:10 +0000)
login-utils/su.c

index 1464d3b2a498644baa68194bf347b5ba961e448b..44cacbb3e611d4bb625795ff5c06b6e22878f8aa 100644 (file)
@@ -94,18 +94,11 @@ static void log_su ();
 
 #ifdef _POSIX_VERSION
 #include <limits.h>
-#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 <sys/param.h>
-#if !defined(NGROUPS_MAX) && defined(NGROUPS)
-#define NGROUPS_MAX NGROUPS
-#endif
 #endif /* not _POSIX_VERSION */
 
 #ifndef HAVE_ENDGRENT