From 4274e516239b34c5cd9ea2c60c11802e28244c99 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Dec 2008 01:01:40 +0000 Subject: docs/defines.txt: document _extern_inline libc/inet/ether_addr.c: optimize tolower, we ever use it on 0-9a-f libc/inet/ntop.c: optimize tolower, we ever use it on 0-9a-f with locale support on, code size change is: text data bss dec hex filename - 396 0 24 420 1a4 libc/inet/ether_addr.os + 306 0 24 330 14a libc/inet/ether_addr.os - 1453 0 0 1453 5ad libc/inet/ntop.os + 1430 0 0 1430 596 libc/inet/ntop.os --- docs/defines.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/defines.txt b/docs/defines.txt index 677335e2f..2af8f0cae 100644 --- a/docs/defines.txt +++ b/docs/defines.txt @@ -40,10 +40,15 @@ __USE_EXTERN_INLINES out-of-line version of every inlined function in case user program calls it instead of using an inline. _EXTERN_INLINE - Define it to replace "extern __inline" string in inline definitions + If not defined by user prior to #include, will be defined to + "extern inline" or equivalent. IOW, if user defines it prior + #include, it replaces "extern __inline" string in inline definitions (those enabled by __USE_EXTERN_INLINES) with something else. A few uclibc .c files use it to create non-inlined functions by defining it to "". +__extern_inline + Defined to "extern inline", modulo gcc/C standard deviations. + Can't be used by user to play tricks as with _EXTERN_INLINE. _LIBC UCLIBC_INTERNAL -- cgit v1.2.3