summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc
Commit message (Collapse)AuthorAgeFilesLines
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-203-16/+7
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-1/+1
| | | | | | | | | | | | | | - 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
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-1925-57/+57
| | | | | | | | | 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.
* Functions should be either exported in public .h filesDenis Vlasenko2008-04-123-6/+3
| | | | | | | | | | | | | 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)
* add hidden_proto's for __uc_mallocDenis Vlasenko2008-02-121-0/+1
| | | | | (patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
* make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko2007-07-301-1/+5
| | | | | | | | | | | | | 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
* the sun rpc code has too many alias violations to worry over now; just ↵Mike Frysinger2007-02-041-0/+2
| | | | disable strict-aliasing until someone gets the balls to clean this stuff up
* sync some fixes from glibcMike Frysinger2007-01-291-3/+7
|
* need to keep __check_rhosts_file exported for proper rhost controlMike Frysinger2007-01-101-1/+5
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-20/+17
| | | | | | | 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.
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-8/+5
| | | | | | | 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.
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-1/+0
| | | | I had clearly run search/replace on that were cluttering things up.
* need hidden proto for rtime() as wellMike Frysinger2006-06-201-0/+1
|
* sync fix fixes from glibcMike Frysinger2006-06-191-7/+9
|
* dont shadow the socket() functionMike Frysinger2006-06-192-6/+6
|
* Move hidden xdr_rmtcall_args prototype before first usePeter S. Mazinger2006-03-241-1/+1
|
* select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger2006-03-231-0/+1
| | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+1
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+0
| | | | _ISOC99/XOPEN_SOURCE
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-1013-13/+0
| | | | most of global data relocations are back
* Get rid of nested extern warnings if threads are disabledPeter S. Mazinger2006-03-091-4/+4
|
* Add back sjhill's 14625 commit, correcting the typo that made it failPeter S. Mazinger2006-03-091-4/+4
|
* Remove commented include."Steven J. Hill"2006-02-251-1/+0
|
* Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵"Steven J. Hill"2006-02-251-5/+5
| | | | breakage.
* Use the TSD macros and get rid of warnings."Steven J. Hill"2006-02-251-4/+5
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-11/+11
|
* hide xdr_u_shortPeter S. Mazinger2006-02-151-0/+1
|
* DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger2006-02-151-0/+2
| | | | linuxthreads[_db] as well, don't try on slow box
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-2/+1
| | | | 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
* weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵Peter S. Mazinger2006-02-011-1/+7
| | | | issue
* don't include wchar.h if WCHAR is disabledPeter S. Mazinger2006-01-311-0/+2
|
* Change the only bcopy user to memmove and remove internal version of bcopyPeter S. Mazinger2006-01-301-4/+4
|
* sync with glibc and rename local socket var to _socketMike Frysinger2006-01-291-35/+36
|
* sync func def with glibc and dont include sys/socket.h since we dont use ↵Mike Frysinger2006-01-291-2/+7
| | | | socket()
* sync comment with glibc and dont include sys/socket.h since we dont use socket()Mike Frysinger2006-01-291-1/+2
|
* rename to match glibcMike Frysinger2006-01-292-1/+1
|
* rename to match glibcMike Frysinger2006-01-292-1/+3
|
* sync with glibc and rename socket vars to _socketMike Frysinger2006-01-291-9/+9
|
* sync iruserfopen() prototype with glibc and remove double setting of cp to ↵Mike Frysinger2006-01-291-2/+1
| | | | NULL by Bernard Fischer
* Bernhard Fischer writes: remove unused variable __rcmd_errstrMike Frysinger2006-01-291-2/+0
|
* small sync with glibcMike Frysinger2006-01-291-16/+45
|
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-268-4/+18
|
* Use wildcard *.c for full rpc, update copyrightPeter S. Mazinger2006-01-241-30/+15
|
* s/svc_auth_unix.c/svc_authux.c/Peter S. Mazinger2006-01-241-1/+1
|
* s/rpc_callmsg.c/rpc_cmsg.c/ for non-full rpc as wellPeter S. Mazinger2006-01-241-1/+1
|
* sync with glibcMike Frysinger2006-01-237-30/+37
|
* Add some attribute_noreturn, replace __attribute__ ((noreturn)) as wellPeter S. Mazinger2006-01-232-2/+2
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-2213-14/+0
| | | | is a useless attempt
* disable deprecated warnings for some filesMike Frysinger2006-01-201-0/+1
|