summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-03-11 07:31:17 +0000
committerWayne Davison <wayned@samba.org>2007-03-11 07:31:17 +0000
commit1b897d50a93b82b4393778a2a8bcda62f85e17d5 (patch)
tree6b6ee111c6a8154c8b81d070c4ddf406d0c1e008 /lib
parentd4a013edb7a8d018e63fb8102433867bdb95ea9f (diff)
downloadrsync-1b897d50a93b82b4393778a2a8bcda62f85e17d5.tar.gz
rsync-1b897d50a93b82b4393778a2a8bcda62f85e17d5.tar.bz2
rsync-1b897d50a93b82b4393778a2a8bcda62f85e17d5.zip
Leave out two unneeded sys*_fd() functions due to their using
a function & struct that is not available in the rsync code.
Diffstat (limited to 'lib')
-rw-r--r--lib/sysacls.c4
1 files changed, 4 insertions, 0 deletions
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)
{