summaryrefslogtreecommitdiffstats
path: root/libc/inet/ntop.c
Commit message (Collapse)AuthorAgeFilesLines
* inet_ntop4: avoid inline initializationMike Frysinger2009-11-091-1/+3
| | | | | | | | We only need to set the first byte to 0, but gcc likes to zero out the rest of the string with memset() when using this initialization style. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-9/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* docs/defines.txt: document _extern_inlineDenis Vlasenko2008-12-221-46/+40
| | | | | | | | | | | | | 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
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-2/+2
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-2/+2
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* suppress a few "might be used uninitialized" warnings. No code growth.Denis Vlasenko2008-06-011-0/+2
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-5/+5
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+2
|
* Correct 2 issues if ipv6 is enabled found by SpanKY, thxPeter S. Mazinger2006-01-141-3/+5
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-15/+22
| | | | missing headers, other jump relocs removed
* Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger2006-01-031-2/+2
|
* Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger2005-12-161-1/+1
| | | | was indeed a badly chosen name
* Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger2005-12-091-1/+1
|
* Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger2005-12-081-12/+6
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-11/+9
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-271-0/+2
|
* ifdef out check which always failsMike Frysinger2005-06-291-0/+2
|
* Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen2002-07-101-19/+16
| | | | | | | | | | | ...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik
* Cleanup namespace leaks by prepending __ to global stuff toEric Andersen2002-07-071-7/+2
| | | | | indicate it is (alledgedly) private. -Erik
* Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen2001-11-211-1/+1
| | | | | support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
* With all the headerfile changes, some functions didn't get there arg typesDavid McCullough2001-10-041-1/+1
| | | | fixed up.
* A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen2001-07-091-0/+8
| | | | | partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
* Silence a few warnings.Eric Andersen2001-06-121-0/+2
|
* Code did not match the prototypes, from what I can tell it should be usingDavid McCullough2001-05-081-4/+4
| | | | size_t as the header files have it already.
* Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen2001-05-041-0/+400
by Cory Visi <merlin@phear.lwz.org>