summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_set.c
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-04-04 18:00:52 +0000
committertmm <tmm@FreeBSD.org>2001-04-04 18:00:52 +0000
commit66e9b0f2f272b9924277c565862d88840df65db1 (patch)
treec54db4a0b05113a4e89cac9f26c2b5a273c90300 /lib/libc/posix1e/acl_set.c
parent91f585bdaf293543608b1f2847857c716f49165d (diff)
downloadFreeBSD-src-66e9b0f2f272b9924277c565862d88840df65db1.zip
FreeBSD-src-66e9b0f2f272b9924277c565862d88840df65db1.tar.gz
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
Diffstat (limited to 'lib/libc/posix1e/acl_set.c')
-rw-r--r--lib/libc/posix1e/acl_set.c6
1 files changed, 4 insertions, 2 deletions
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 <sys/types.h>
+#include "namespace.h"
#include <sys/acl.h>
+#include "un-namespace.h"
#include <errno.h>
#include <stdlib.h>
@@ -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));
}
/*
OpenPOWER on IntegriCloud