diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-22 01:01:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-22 01:01:40 +0000 |
commit | 4274e516239b34c5cd9ea2c60c11802e28244c99 (patch) | |
tree | 4fa9f8d784803d3927757f7eaa6e95ad5ae5ca5e /docs | |
parent | c6df9c945232b76340e298946b51684441f549fc (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/defines.txt | 7 |
1 files changed, 6 insertions, 1 deletions
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 |