summaryrefslogtreecommitdiffstats
path: root/libc/inet/getnetent.c
Commit message (Collapse)AuthorAgeFilesLines
* getnet: switch to config parserBernhard Reutner-Fischer2010-08-051-139/+0
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.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>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-5/+5
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-2/+2
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-1/+1
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* Revert revision 19347, plus libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-121-4/+3
| | | | | Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess.
* Revert revison 19346, except parts needed by later patches (r19347 also addedBernd Schmidt2008-06-101-19/+6
| | | | | | __uc_malloc calls in getnetent.c, so we must retain the include and libc_hidden_proto).
* Fix build failure due to missing 'smallint' definitionCarmelo Amoroso2008-05-271-0/+1
| | | | | | by adding <unistd.h> header file. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Slight size reduction by use of smallints/consts:Denis Vlasenko2008-05-251-2/+2
| | | | | | - 288016 1924 7176 297116 4889c libuClibc-0.9.29.so + 287956 1924 7168 297048 48858 libuClibc-0.9.29.so
* add hidden_proto's for __uc_mallocDenis Vlasenko2008-02-121-0/+2
| | | | | (patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
* make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko2007-07-301-3/+1
| | | | | | | | | | | | | replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062
* make getnetent.c, md5.c use __uc_mallocDenis Vlasenko2007-07-301-6/+20
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-17/+14
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-3/+3
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-10/+15
| | | | missing headers, other jump relocs removed
* hide internal _net_stayopen symbolMike Frysinger2006-01-081-1/+1
|
* Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger2005-12-161-0/+1
| | | | was indeed a badly chosen name
* mmap/mremap/socket/rewind gonePeter S. Mazinger2005-12-081-0/+1
|
* Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger2005-12-081-0/+2
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-6/+3
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-4/+6
|
* Add missing include.Manuel Novoa III2004-05-071-0/+1
|
* Reduce memory used by static buffers and allocate that memory dynamiclyEric Andersen2004-03-181-2/+9
| | | | | | | | | | instead. Based on an initial patch from Tobias Anderberg, but reworked. I asked Tobias to look into doing something more like what is done in busybox, but that proved to be a pain. One possible concern is that these buffers will probably show up as memory leaks i.e. with valgrind. Perhaps we should add in an atexit call to free this memory right after we allocate it?
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-2/+2
| | | | | | | | | | | | | | | | were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
* Make things more re-entrany, kill some cruft.Eric Andersen2002-06-171-72/+88
| | | | -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>
* Silence a few warnings.Eric Andersen2001-06-121-0/+2
|
* Add some missing network functionality; grabbed from libc-5.3.12.Manuel Novoa III2001-03-121-0/+116