From 1b897d50a93b82b4393778a2a8bcda62f85e17d5 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 11 Mar 2007 07:31:17 +0000 Subject: [PATCH] Leave out two unneeded sys*_fd() functions due to their using a function & struct that is not available in the rsync code. --- lib/sysacls.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/sysacls.c b/lib/sysacls.c index 0ad80754..725d277e 100644 --- a/lib/sysacls.c +++ b/lib/sysacls.c @@ -1206,6 +1206,7 @@ SMB_ACL_T sys_acl_get_file(const char *path_p, SMB_ACL_TYPE_T type) return acl_d; } +#if 0 SMB_ACL_T sys_acl_get_fd(int fd) { /* @@ -1226,6 +1227,7 @@ SMB_ACL_T sys_acl_get_fd(int fd) return sys_acl_get_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS); } +#endif int sys_acl_clear_perms(SMB_ACL_PERMSET_T permset_d) { @@ -1885,6 +1887,7 @@ int sys_acl_set_file(const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d) return ret; } +#if 0 int sys_acl_set_fd(int fd, SMB_ACL_T acl_d) { /* @@ -1909,6 +1912,7 @@ int sys_acl_set_fd(int fd, SMB_ACL_T acl_d) return sys_acl_set_file(fsp->fsp_name, SMB_ACL_TYPE_ACCESS, acl_d); } +#endif int sys_acl_delete_def_file(const char *path) { -- 2.34.1