aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-29 17:54:31 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-09 01:00:55 -0500
commit09385d5912306ccf444d4532520d339774fea48a (patch)
treee6c8ea4408eae01237d68f9f0e0461c51d045130
parent66b2d94a1b8e684927094e21f4d4bc0b54302355 (diff)
downloadglibc-09385d5912306ccf444d4532520d339774fea48a.tar
glibc-09385d5912306ccf444d4532520d339774fea48a.tar.gz
glibc-09385d5912306ccf444d4532520d339774fea48a.tar.bz2
glibc-09385d5912306ccf444d4532520d339774fea48a.zip
sys/types.h: drop sys/sysmacros.h include
We want to break apart this include path due to namespace pollution. https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html
-rw-r--r--posix/sys/types.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index b3a27c51f0..788364a299 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -216,15 +216,6 @@ typedef int register_t __attribute__ ((__mode__ (__word__)));
/* It also defines `fd_set' and the FD_* macros for `select'. */
# include <sys/select.h>
-
-/* BSD defines `major', `minor', and `makedev' in this header.
- However, these symbols are likely to collide with user code, so we are
- going to stop defining them here in an upcoming release. Code that needs
- these macros should include <sys/sysmacros.h> directly. Code that does
- not need these macros should #undef them after including this header. */
-# define __SYSMACROS_DEPRECATED_INCLUSION
-# include <sys/sysmacros.h>
-# undef __SYSMACROS_DEPRECATED_INCLUSION
#endif /* Use misc. */