From 66e9b0f2f272b9924277c565862d88840df65db1 Mon Sep 17 00:00:00 2001 From: tmm Date: Wed, 4 Apr 2001 18:00:52 +0000 Subject: Prepare for the inclusion of libposix1e into libc: retire the old Makefile, add Makefile.inc needed for libc build; add #include "namespace.h"/#include "un-namespace.h" pairs around the includes of sys/acl.h and sys/capability.h, and an additional underscore in front of the functions that will be overridden in libc_r. Approved by: rwatson Obtained from: TrustedBSD Project --- lib/libc/posix1e/acl_set.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc/posix1e/acl_set.c') diff --git a/lib/libc/posix1e/acl_set.c b/lib/libc/posix1e/acl_set.c index 58be508..172e9db 100644 --- a/lib/libc/posix1e/acl_set.c +++ b/lib/libc/posix1e/acl_set.c @@ -30,7 +30,9 @@ */ #include +#include "namespace.h" #include +#include "un-namespace.h" #include #include @@ -71,7 +73,7 @@ acl_set_fd(int fd, acl_t acl) return(-1); } - return (__acl_set_fd(fd, ACL_TYPE_ACCESS, acl)); + return (___acl_set_fd(fd, ACL_TYPE_ACCESS, acl)); } int @@ -87,7 +89,7 @@ acl_set_fd_np(int fd, acl_t acl, acl_type_t type) } } - return (__acl_set_fd(fd, type, acl)); + return (___acl_set_fd(fd, type, acl)); } /* -- cgit v1.1