summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
AgeCommit message (Collapse)Author
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-20replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko
2008-05-20Introduce and use small[u]int type. Changes in size:Denis Vlasenko
- 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
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.
2008-04-12Functions should be either exported in public .h filesDenis Vlasenko
and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
2008-02-12add hidden_proto's for __uc_mallocDenis Vlasenko
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
2007-07-30make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko
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
2007-02-04the sun rpc code has too many alias violations to worry over now; just ↵Mike Frysinger
disable strict-aliasing until someone gets the balls to clean this stuff up
2007-01-29sync some fixes from glibcMike Frysinger
2007-01-10need to keep __check_rhosts_file exported for proper rhost controlMike Frysinger
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-06-20need hidden proto for rtime() as wellMike Frysinger
2006-06-19sync fix fixes from glibcMike Frysinger
2006-06-19dont shadow the socket() functionMike Frysinger
2006-03-24Move hidden xdr_rmtcall_args prototype before first usePeter S. Mazinger
2006-03-23select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger
defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-03-09Get rid of nested extern warnings if threads are disabledPeter S. Mazinger
2006-03-09Add back sjhill's 14625 commit, correcting the typo that made it failPeter S. Mazinger
2006-02-25Remove commented include."Steven J. Hill"
2006-02-25Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵"Steven J. Hill"
breakage.
2006-02-25Use the TSD macros and get rid of warnings."Steven J. Hill"
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-15hide xdr_u_shortPeter S. Mazinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-13libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
2006-02-01weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵Peter S. Mazinger
issue
2006-01-31don't include wchar.h if WCHAR is disabledPeter S. Mazinger
2006-01-30Change the only bcopy user to memmove and remove internal version of bcopyPeter S. Mazinger
2006-01-29sync with glibc and rename local socket var to _socketMike Frysinger
2006-01-29sync func def with glibc and dont include sys/socket.h since we dont use ↵Mike Frysinger
socket()
2006-01-29sync comment with glibc and dont include sys/socket.h since we dont use socket()Mike Frysinger
2006-01-29rename to match glibcMike Frysinger
2006-01-29rename to match glibcMike Frysinger
2006-01-29sync with glibc and rename socket vars to _socketMike Frysinger
2006-01-29sync iruserfopen() prototype with glibc and remove double setting of cp to ↵Mike Frysinger
NULL by Bernard Fischer
2006-01-29Bernhard Fischer writes: remove unused variable __rcmd_errstrMike Frysinger
2006-01-29small sync with glibcMike Frysinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-24Use wildcard *.c for full rpc, update copyrightPeter S. Mazinger
2006-01-24s/svc_auth_unix.c/svc_authux.c/Peter S. Mazinger
2006-01-24s/rpc_callmsg.c/rpc_cmsg.c/ for non-full rpc as wellPeter S. Mazinger
2006-01-23sync with glibcMike Frysinger
2006-01-23Add some attribute_noreturn, replace __attribute__ ((noreturn)) as wellPeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-20disable deprecated warnings for some filesMike Frysinger