]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(copy_acl, set_acl): Add declarations.
authorJim Meyering <jim@meyering.net>
Sat, 17 Dec 2005 10:31:15 +0000 (10:31 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 17 Dec 2005 10:31:15 +0000 (10:31 +0000)
lib/acl.h

index c9bb3c7df111cc7ec49b8016f2968cd76298bd5f..a7b4f9eecb80d6017330c554326d3826bb4757cc 100644 (file)
--- a/lib/acl.h
+++ b/lib/acl.h
 
    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);