From 4904699b882012dc0cf55433550cb19d3e84de1e Mon Sep 17 00:00:00 2001 From: tjr Date: Wed, 23 Jun 2004 07:11:39 +0000 Subject: [PATCH] Now that no longer brings in namespace pollution, bring back the inline functions for the !__BSD_VISIBLE case. --- include/_ctype.h | 11 ----------- include/ctype.h | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/include/_ctype.h b/include/_ctype.h index 7ab3bbfd7c02..194959e19b4a 100644 --- a/include/_ctype.h +++ b/include/_ctype.h @@ -167,17 +167,6 @@ __END_DECLS #define __inline #endif -/* - * brings namespace pollution (struct member names). This prevents - * us from using the inline optimizations in the more strict __POSIX_VISIBLE and - * __XSI_VISIBLE namespaces. To fix this properly would require that we rename - * member names of long-standing structs, or something equally evil. - */ -#if !__BSD_VISIBLE && !defined(_USE_CTYPE_INLINE_) && \ - !defined(_DONT_USE_CTYPE_INLINE_) -#define _DONT_USE_CTYPE_INLINE_ -#endif - /* * Use inline functions if we are allowed to and the compiler supports them. */ diff --git a/include/ctype.h b/include/ctype.h index 7ab3bbfd7c02..194959e19b4a 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -167,17 +167,6 @@ __END_DECLS #define __inline #endif -/* - * brings namespace pollution (struct member names). This prevents - * us from using the inline optimizations in the more strict __POSIX_VISIBLE and - * __XSI_VISIBLE namespaces. To fix this properly would require that we rename - * member names of long-standing structs, or something equally evil. - */ -#if !__BSD_VISIBLE && !defined(_USE_CTYPE_INLINE_) && \ - !defined(_DONT_USE_CTYPE_INLINE_) -#define _DONT_USE_CTYPE_INLINE_ -#endif - /* * Use inline functions if we are allowed to and the compiler supports them. */