diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-02-26 02:07:02 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-02-26 02:07:02 +0000 |
commit | 3de91924d236e02aa3078c572f2cc3b4c0e25a46 (patch) | |
tree | d4793a624b4061ae71b705bad60ae9052aad0901 /lib/libc/posix1e/acl_support.h | |
parent | 89842b0829560bcf6bede7ab2e0a2f5d32193ac1 (diff) | |
download | FreeBSD-src-3de91924d236e02aa3078c572f2cc3b4c0e25a46.zip FreeBSD-src-3de91924d236e02aa3078c572f2cc3b4c0e25a46.tar.gz |
Move _posix1e_acl_name_to_id out of acl_support.c and into
acl_from_text.c. Since acl_from_text.c is the only place it
is used, we can now make this internal utility function "static."
As a bonus, acl_set_fd() no longer pulls in getpwuid() for no reason.
MFC after: 7 days
Diffstat (limited to 'lib/libc/posix1e/acl_support.h')
-rw-r--r-- | lib/libc/posix1e/acl_support.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_support.h b/lib/libc/posix1e/acl_support.h index 6cccf0b..a5c93c0 100644 --- a/lib/libc/posix1e/acl_support.h +++ b/lib/libc/posix1e/acl_support.h @@ -39,7 +39,6 @@ int _posix1e_acl_sort(acl_t acl); int _posix1e_acl(acl_t acl, acl_type_t type); int _posix1e_acl_id_to_name(acl_tag_t tag, uid_t id, ssize_t buf_len, char *buf); -int _posix1e_acl_name_to_id(acl_tag_t tag, char *name, uid_t *id); int _posix1e_acl_perm_to_string(acl_perm_t perm, ssize_t buf_len, char *buf); int _posix1e_acl_string_to_perm(char *string, acl_perm_t *perm); |