summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
AgeCommit message (Collapse)Author
2012-06-15remove __FORCE_GLIBCPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-09inet_ntop4: avoid inline initializationMike Frysinger
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>
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
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>
2008-12-22docs/defines.txt: document _extern_inlineDenis Vlasenko
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
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-06-01suppress a few "might be used uninitialized" warnings. No code growth.Denis Vlasenko
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
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.
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14Correct 2 issues if ipv6 is enabled found by SpanKY, thxPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-03Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger
2005-12-16Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger
was indeed a badly chosen name
2005-12-09Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger
2005-12-08Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-27Hide some of mem* and str*Peter S. Mazinger
2005-06-29ifdef out check which always failsMike Frysinger
2002-07-10Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen
...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
2002-07-07Cleanup namespace leaks by prepending __ to global stuff toEric Andersen
indicate it is (alledgedly) private. -Erik
2001-11-21Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
2001-10-04With all the headerfile changes, some functions didn't get there arg typesDavid McCullough
fixed up.
2001-07-09A patch from Michal Moskal <malekith@pld.org.pl> to includeEric Andersen
partial IPV6 support. This adds things like gethostbyname2(). Off by defaut, of course,
2001-06-12Silence a few warnings.Eric Andersen
2001-05-08Code did not match the prototypes, from what I can tell it should be usingDavid McCullough
size_t as the header files have it already.
2001-05-04Add in inet_ntop() and inet_pton() -- ported from glibc 2.2.3Eric Andersen
by Cory Visi <merlin@phear.lwz.org>