From 53af2dbdcaab2b0af0595c7972b876b8ef9e9ae6 Mon Sep 17 00:00:00 2001 From: gleb Date: Sat, 19 May 2012 12:44:27 +0000 Subject: Hide DIR definition by making it an opaque struct typedef. Introduce dirfd() libc exported symbol replacing macro with same name, preserve _dirfd() macro for internal use. Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable name to prevent shadowing global symbol. Sponsored by: Google Summer Of Code 2011 --- lib/libc/gen/Symbol.map | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc/gen/Symbol.map') diff --git a/lib/libc/gen/Symbol.map b/lib/libc/gen/Symbol.map index d794c0a..356bee5 100644 --- a/lib/libc/gen/Symbol.map +++ b/lib/libc/gen/Symbol.map @@ -382,6 +382,7 @@ FBSD_1.2 { }; FBSD_1.3 { + dirfd; fdlopen; __FreeBSD_libc_enter_restricted_mode; getcontextx; -- cgit v1.1