summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-07-05 14:44:20 +0200
committerJim Meyering <jim@meyering.net>2007-07-05 14:44:20 +0200
commit25e9ed13540469292ef77bef8e373ad0d9bcf1d9 (patch)
tree210e030951b9fd3cc89fd17cfc6c56255878128a
parent4b9ab625802fa8acbb4ecefa1c6b37df4268ade7 (diff)
downloadcoreutils-25e9ed13540469292ef77bef8e373ad0d9bcf1d9.tar.xz
* src/id.c: Include "getugroups.h" rather than declaring manually.
-rw-r--r--ChangeLog4
-rw-r--r--src/id.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f54ea1b2..2c661a52e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-05 Jim Meyering <jim@meyering.net>
+
+ * src/id.c: Include "getugroups.h" rather than declaring manually.
+
2007-07-04 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: pr -F no longer suppresses the footer or the first two blank
diff --git a/src/id.c b/src/id.c
index 282cc46d7..208775eb5 100644
--- a/src/id.c
+++ b/src/id.c
@@ -29,6 +29,7 @@
#include "system.h"
#include "error.h"
+#include "getugroups.h"
#include "quote.h"
/* The official name of this program (e.g., no `g' prefix). */
@@ -36,8 +37,6 @@
#define AUTHORS "Arnold Robbins", "David MacKenzie"
-int getugroups ();
-
/* If nonzero, output only the SELinux context. -Z */
static int just_context = 0;