diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 04:06:55 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 04:06:55 +0000 |
commit | a584fc06f12bb33ffc9a6721f190776c0cba08ff (patch) | |
tree | 7458c9f7eafe6d335659d036e6e1b40af039a9a5 /lib/libc | |
parent | 07e3f06934aedd818ed70af9de397c3b00228916 (diff) | |
download | FreeBSD-src-a584fc06f12bb33ffc9a6721f190776c0cba08ff.zip FreeBSD-src-a584fc06f12bb33ffc9a6721f190776c0cba08ff.tar.gz |
Adding missing declarations to eliminate -Wmissing-prototypes warnings
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/acl_compat.c | 4 | ||||
-rw-r--r-- | lib/libc/posix1e/acl_support.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/posix1e/acl_compat.c b/lib/libc/posix1e/acl_compat.c index c433920..edb63fa 100644 --- a/lib/libc/posix1e/acl_compat.c +++ b/lib/libc/posix1e/acl_compat.c @@ -29,6 +29,10 @@ __FBSDID("$FreeBSD$"); #include <sys/acl.h> +int __oldacl_get_perm_np(acl_permset_t permset_d, oldacl_perm_t perm); +int __oldacl_add_perm(acl_permset_t permset_d, oldacl_perm_t perm); +int __oldacl_delete_perm(acl_permset_t permset_d, oldacl_perm_t perm); + /* * Compatibility wrappers for applications compiled against libc from before * NFSv4 ACLs were added. diff --git a/lib/libc/posix1e/acl_support.h b/lib/libc/posix1e/acl_support.h index 11fa29b..9d6c1b2 100644 --- a/lib/libc/posix1e/acl_support.h +++ b/lib/libc/posix1e/acl_support.h @@ -45,6 +45,8 @@ int _acl_brand_may_be(const acl_t acl, int brand); int _entry_brand_may_be(const acl_entry_t entry, int brand); void _acl_brand_as(acl_t acl, int brand); void _entry_brand_as(const acl_entry_t entry, int brand); +int _nfs4_acl_entry_from_text(acl_t aclp, char *str); +char *_nfs4_acl_to_text_np(const acl_t aclp, ssize_t *len_p, int flags); int _nfs4_format_flags(char *str, size_t size, acl_flag_t var, int verbose); int _nfs4_format_access_mask(char *str, size_t size, acl_perm_t var, int verbose); int _nfs4_parse_flags(const char *str, acl_flag_t *var); |