summaryrefslogtreecommitdiff
path: root/lib/group-member.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-15 11:09:10 +0000
committerJim Meyering <jim@meyering.net>1998-03-15 11:09:10 +0000
commitbfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (patch)
tree2045f8cb784dbc4f5cb1cbaf83e0d0b05f7277e2 /lib/group-member.c
parent0f5f23cb9eac6ee05f0571277298881b91939540 (diff)
downloadcoreutils-bfbc3ce20cdcfd00c27922c2e78cbff43846fe0d.tar.xz
Use #if, not #ifdef with HAVE_ macros
Diffstat (limited to 'lib/group-member.c')
-rw-r--r--lib/group-member.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/group-member.c b/lib/group-member.c
index 065f4d8bb..dee0c39f0 100644
--- a/lib/group-member.c
+++ b/lib/group-member.c
@@ -1,5 +1,5 @@
/* group-member.c -- determine whether group id is in calling user's group list
- Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
@@ -26,7 +26,7 @@
# include <stdlib.h>
#endif
-#ifdef HAVE_UNISTD_H
+#if HAVE_UNISTD_H
# include <unistd.h>
#endif
@@ -41,7 +41,7 @@ struct group_info
GETGROUPS_T *group;
};
-#ifdef HAVE_GETGROUPS
+#if HAVE_GETGROUPS
static void
free_group_info (struct group_info *g)