summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-20 09:50:58 +0000
committerJim Meyering <jim@meyering.net>1999-11-20 09:50:58 +0000
commit57bb9608677a52b0daedeb9cb36e2bbe4e2feaf9 (patch)
tree2b305c578409c4cc41a23dec209317f391e9b1a2 /src/chgrp.c
parent320be1758d03d9ee360218f07de93cc8c1661261 (diff)
downloadcoreutils-57bb9608677a52b0daedeb9cb36e2bbe4e2feaf9.tar.gz
coreutils-57bb9608677a52b0daedeb9cb36e2bbe4e2feaf9.tar.bz2
coreutils-57bb9608677a52b0daedeb9cb36e2bbe4e2feaf9.zip
Declare lstat; needed on e.g. SunOS4.
Reported by Tom Tromey.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 52bb78ed0..889b82596 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -71,6 +71,8 @@ enum Verbosity
V_off
};
+int lstat ();
+
static int change_dir_group PARAMS ((const char *dir, gid_t group,
const struct stat *statp));