From 37bc56f85be11440d116571dc7f3219e4c2f3a06 Mon Sep 17 00:00:00 2001 From: Thomas Moestl Date: Wed, 4 Apr 2001 18:04:10 +0000 Subject: [PATCH] Add entries for the posix1e functions that will be overridden in libc_r. Approved by: rwatson Obtained from: TrustedBSD Project --- lib/libc/include/namespace.h | 6 ++++++ lib/libc/include/un-namespace.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index cc15a692d987..470243b17b23 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -35,7 +35,13 @@ * in libc_r/libpthread. */ #define accept _accept +#define __acl_aclcheck_fd ___acl_aclcheck_fd +#define __acl_delete_fd ___acl_delete_fd +#define __acl_get_fd ___acl_get_fd +#define __acl_set_fd ___acl_set_fd #define bind _bind +#define __cap_get_fd ___cap_get_fd +#define __cap_set_fd ___cap_set_fd #define close _close #define connect _connect #define dup _dup diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h index 76ba6256f31a..c7a572404a56 100644 --- a/lib/libc/include/un-namespace.h +++ b/lib/libc/include/un-namespace.h @@ -30,7 +30,13 @@ #define _UN_NAMESPACE_H_ #undef accept +#undef __acl_aclcheck_fd +#undef __acl_delete_fd +#undef __acl_get_fd +#undef __acl_set_fd #undef bind +#undef __cap_get_fd +#undef __cap_set_fd #undef close #undef connect #undef dup