From: Wayne Davison Date: Sun, 11 Mar 2007 07:31:17 +0000 (+0000) Subject: Leave out two unneeded sys*_fd() functions due to their using X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/1b897d50a93b82b4393778a2a8bcda62f85e17d5 Leave out two unneeded sys*_fd() functions due to their using a function & struct that is not available in the rsync code. --- 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) {