summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-12 08:23:02 +0200
committerJim Meyering <meyering@redhat.com>2011-05-12 08:23:52 +0200
commit6bc73ee56ee525b30053cf7ec06215ef39f9e8de (patch)
treeec8f9bdc95653d1bb91b6e364e3ab864f1951fde
parenteec0e6d2e4f6bc62384f6474c0addc4489dee1ec (diff)
downloadcoreutils-6bc73ee56ee525b30053cf7ec06215ef39f9e8de.tar.xz
maint: use <unistd.h>, not "group-member.h"
gnulib's group-member module now ensures that the group_member function is declared in <unistd.h>, just like it is glibc. * lib/euidaccess-stat.c: Remove inclusion of "group-member.h". * src/chgrp.c: Likewise.
-rw-r--r--lib/euidaccess-stat.c1
-rw-r--r--src/chgrp.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/euidaccess-stat.c b/lib/euidaccess-stat.c
index 0fc564643..46c04b8d4 100644
--- a/lib/euidaccess-stat.c
+++ b/lib/euidaccess-stat.c
@@ -25,7 +25,6 @@
#include <unistd.h>
-#include "group-member.h"
#include "stat-macros.h"
/* Return true if the current user has permission of type MODE
diff --git a/src/chgrp.c b/src/chgrp.c
index 6820bdbd1..1b4847d8b 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -26,7 +26,6 @@
#include "chown-core.h"
#include "error.h"
#include "fts_.h"
-#include "group-member.h"
#include "quote.h"
#include "root-dev-ino.h"
#include "xstrtol.h"