summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-17 10:31:15 +0000
committerJim Meyering <jim@meyering.net>2005-12-17 10:31:15 +0000
commit9566c9c9d3fe4d68470661c2dc9182e291425415 (patch)
tree8e2641c128556296c6fdd9b758db0c9c37725c61
parent2eb8cbd948d2bcb9def25e1ced02d403dd1797d7 (diff)
downloadcoreutils-9566c9c9d3fe4d68470661c2dc9182e291425415.tar.xz
(copy_acl, set_acl): Add declarations.
-rw-r--r--lib/acl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/acl.h b/lib/acl.h
index c9bb3c7df..a7b4f9eec 100644
--- a/lib/acl.h
+++ b/lib/acl.h
@@ -18,11 +18,14 @@
Written by Paul Eggert. */
-#if HAVE_SYS_ACL_H && HAVE_ACL
+#if HAVE_SYS_ACL_H
# include <sys/acl.h>
#endif
-#if ! defined GETACLCNT && defined ACL_CNT
+#if defined HAVE_ACL && ! defined GETACLCNT && defined ACL_CNT
# define GETACLCNT ACL_CNT
#endif
int file_has_acl (char const *, struct stat const *);
+int copy_acl (char const *, int, char const *, int, mode_t);
+int set_acl (char const *, int, mode_t);
+int chmod_or_fchmod (char const *, int, mode_t);