summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_compat.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:06:55 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 04:06:55 +0000
commita584fc06f12bb33ffc9a6721f190776c0cba08ff (patch)
tree7458c9f7eafe6d335659d036e6e1b40af039a9a5 /lib/libc/posix1e/acl_compat.c
parent07e3f06934aedd818ed70af9de397c3b00228916 (diff)
downloadFreeBSD-src-a584fc06f12bb33ffc9a6721f190776c0cba08ff.zip
FreeBSD-src-a584fc06f12bb33ffc9a6721f190776c0cba08ff.tar.gz
Adding missing declarations to eliminate -Wmissing-prototypes warnings
Diffstat (limited to 'lib/libc/posix1e/acl_compat.c')
-rw-r--r--lib/libc/posix1e/acl_compat.c4
1 files changed, 4 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.
OpenPOWER on IntegriCloud