From: Jim Meyering Date: Sat, 17 Dec 2005 10:31:15 +0000 (+0000) Subject: (copy_acl, set_acl): Add declarations. X-Git-Tag: v6.0~1094 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9566c9c9d3fe4d68470661c2dc9182e291425415;p=thirdparty%2Fcoreutils.git (copy_acl, set_acl): Add declarations. --- diff --git a/lib/acl.h b/lib/acl.h index c9bb3c7df1..a7b4f9eecb 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 #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);