summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-06-23 07:11:39 +0000
committertjr <tjr@FreeBSD.org>2004-06-23 07:11:39 +0000
commit4904699b882012dc0cf55433550cb19d3e84de1e (patch)
treeb989f701d1f8dc34befa0a88fa422b8d87f01836 /include
parentd04fd4700f3a09552b35dfa53c683d0404754383 (diff)
downloadFreeBSD-src-4904699b882012dc0cf55433550cb19d3e84de1e.zip
FreeBSD-src-4904699b882012dc0cf55433550cb19d3e84de1e.tar.gz
Now that <runetype.h> no longer brings in namespace pollution,
bring back the inline functions for the !__BSD_VISIBLE case.
Diffstat (limited to 'include')
-rw-r--r--include/_ctype.h11
-rw-r--r--include/ctype.h11
2 files changed, 0 insertions, 22 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 7ab3bbf..194959e 100644
--- a/include/_ctype.h
+++ b/include/_ctype.h
@@ -168,17 +168,6 @@ __END_DECLS
#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.
*/
#if !defined(_DONT_USE_CTYPE_INLINE_) && \
diff --git a/include/ctype.h b/include/ctype.h
index 7ab3bbf..194959e 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -168,17 +168,6 @@ __END_DECLS
#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.
*/
#if !defined(_DONT_USE_CTYPE_INLINE_) && \
OpenPOWER on IntegriCloud