summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-06 06:10:08 +0000
committerJim Meyering <jim@meyering.net>1996-01-06 06:10:08 +0000
commit634853cee6808a481035d12af58b8d860b4cec95 (patch)
tree4900173d47c11c9130f4c8dbb81c2d543eccf4be /src/su.c
parent0f100b0d3f541e0bcc107eb8cc416277ce759109 (diff)
downloadcoreutils-634853cee6808a481035d12af58b8d860b4cec95.tar.xz
Remove NGROUPS_MAX junk. It wasn't being used.
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/su.c b/src/su.c
index 1464d3b2a..44cacbb3e 100644
--- a/src/su.c
+++ b/src/su.c
@@ -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