summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-27 13:36:22 +0000
committerJim Meyering <jim@meyering.net>1994-12-27 13:36:22 +0000
commit59097c0922bb1888f0dcdc9ee5b51e33f18fba6f (patch)
tree5492e5eb5822f0d6a106dda321628078d5c72bf3 /src/chgrp.c
parentdcb4b372409f52c5d6215aa64958a3eae050b945 (diff)
downloadcoreutils-59097c0922bb1888f0dcdc9ee5b51e33f18fba6f.tar.xz
Include "error.h" rather than simply declaring `void error ();'.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 47b6ef315..a60f7783a 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -22,9 +22,11 @@
#include <sys/types.h>
#include <grp.h>
#include <getopt.h>
+
#include "system.h"
#include "version.h"
#include "safe-lstat.h"
+#include "error.h"
#ifndef _POSIX_VERSION
struct group *getgrnam ();
@@ -38,7 +40,6 @@ char *group_member ();
char *savedir ();
char *xmalloc ();
char *xrealloc ();
-void error ();
static int change_file_group ();
static int change_dir_group ();