From 9566c9c9d3fe4d68470661c2dc9182e291425415 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Dec 2005 10:31:15 +0000 Subject: (copy_acl, set_acl): Add declarations. --- lib/acl.h | 7 +++++-- 1 file 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 #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); -- cgit v1.2.3-70-g09d2