Now that <runetype.h> no longer brings in namespace pollution,

bring back the inline functions for the !__BSD_VISIBLE case.
This commit is contained in:
Tim J. Robbins 2004-06-23 07:11:39 +00:00
parent ddc1eded85
commit 838faf1c74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130962
2 changed files with 0 additions and 22 deletions

View file

@ -167,17 +167,6 @@ __END_DECLS
#define __inline
#endif
/*
* <runetype.h> 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.
*/

View file

@ -167,17 +167,6 @@ __END_DECLS
#define __inline
#endif
/*
* <runetype.h> 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.
*/