summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* correct documentationBernhard Reutner-Fischer2009-11-171-4/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* realpath: SUSv4 compliantBernhard Reutner-Fischer2009-11-141-3/+1
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* silence warning about undefined CPP tokenBernhard Reutner-Fischer2009-11-131-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ftw() is obsolescent in SUSv4Bernhard Reutner-Fischer2009-10-081-8/+10
| | | | | | Apps should switch to nftw() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* _toupper, _tolower depend on SUSv4Bernhard Reutner-Fischer2009-10-081-3/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* include/: add tls errno and res_stateAustin Foxley2009-09-267-25/+79
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add timerfd syscall and headerStephan Raue2009-09-211-0/+1
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Stephan Raue <mailinglists@openelec.tv>
* sigpause: remove libc_hidden_proto/defDenys Vlasenko2009-09-191-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sigwait: remove __sigwait and __GI_sigwait symbols - they are unusedDenys Vlasenko2009-09-191-1/+0
| | | | | | | | sigwait is not called from any uclibc function, so "hidden symbol" trick is not needed on it. __sigwait also is never used, and it's not clear why it even existed. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sys/mount.h: sync with latest glibcMike Frysinger2009-09-151-1/+5
| | | | | | Newer glibc adds a few more MNT_* flags, so import them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* setup attribute_optimize which comes with gcc-4.4+Mike Frysinger2009-09-151-0/+6
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATHDenys Vlasenko2009-09-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-08-302-7/+7
| | | | | | | | This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix lib_hidden_proto's which have extra ;Denys Vlasenko2009-07-231-2/+2
| | | | | | This was making them appear in sanitized headers. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add more arch-specific include/ ignoresMike Frysinger2009-07-231-0/+12
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add hidden aliases for openat funcsMike Frysinger2009-07-221-0/+2
| | | | | | openat64() uses openat(), so we need hidden aliases for it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add hidden aliases for ntoh/hton functionsMike Frysinger2009-07-221-0/+4
| | | | | | | Sometimes references for these functions show up (like when debugging is enabled), so add hidden aliases for them if needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko2009-07-216-10/+10
| | | | | | | | | | Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* first pass at implementing *at funcsMike Frysinger2009-07-206-30/+87
| | | | | | | Tested basic functionality with coreutils and things seem to work. At least gives us a basis to jump from. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sync a few headers with glibc (no functional changes)Mike Frysinger2009-07-204-47/+47
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* dirent: push dirent type to prototypesMike Frysinger2009-07-201-16/+58
| | | | | | | | | | This syncs the dirent related functions with the glibc behavior -- rather than take void pointers everywhere, make the struct dirent pointers explicit in the API. After all, the functions themselves will cast the pointers to a dirent structure, so if it isn't as expected, people will crash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* string: only include inline-asm if UCLIBC_HAS_STRING_ARCH_OPTMike Frysinger2009-07-201-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add a wchar.h stubMike Frysinger2009-07-201-0/+14
| | | | | | | The basic C standard requires a few wchar types, so provide those even when wchar support is disabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* note that we do not want hidden malloc aliasesMike Frysinger2009-07-201-0/+2
| | | | | | | | | | We want to let malloc() and friends be overridable at runtime so that apps can insert their own implementation (think debugging, specialized setups, etc...). That means that C library functions that return allocated memory have to go through the normal malloc() symbol as well as the external code is the one who will be calling free(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* relocate i386 string.h to i386-specific dirMike Frysinger2009-07-202-317/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* start ignoring include/ symlinksMike Frysinger2009-07-201-0/+21
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add hidden aliases for older regex search functionsMike Frysinger2009-07-201-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify common syscall definesMike Frysinger2009-07-081-0/+1
| | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add a few missing includesRon2009-07-051-0/+1
| | | | | | | | elf.h needs __BYTE_ORDER, and s_scalbn.c needs {LONG,INT}_MAX. shm.c complains about no prototypes for shm_{open,unlink} without its header. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add some missing printf/scanf format attributesRon2009-07-051-5/+10
| | | | | | | | | The gcc-4.4 documentation still suggests that the compiler will automatically do format checking for the standard format function prototypes, but it is now also barking warnings suggesting that we add them for this lot too. So added. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: make sure all relocs are uppercaseMike Frysinger2009-06-011-19/+19
| | | | | | This is to match changes in the toolchain. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* patch from Joseph S. Meyersaustinf2009-04-271-3/+3
| | | | | | | | | | | | | | | | | | | This patch merges 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #2841] * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result to promote to 'int' when uint_least8_t and uint_least16_t promote to 'int'. from glibc to fix a bug in uClibc's stdint.h (GCC's testsuite will now detect this problem, along with various others some systems have in their stdint.h headers.) Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* implement daemon() using clone() on no-mmu systems as suggested by Jamie LokierMike Frysinger2009-04-071-2/+0
|
* - Add strtouq alias (to strtoul) for 64bitBernhard Reutner-Fischer2009-03-251-1/+3
| | | | | | | | The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-271-0/+6
|
* Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.Rob Landley2009-02-241-1/+1
|
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko2009-02-181-6/+9
| | | | | | | math.h: make macro machinery a bit more understandable No code changes (verified with objdump)
* fix typo in commentDenis Vlasenko2009-02-171-1/+1
|
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-171-24/+32
| | | | | *: fix everything which prevents above from building
* math.h: fix libm_hidden_proto leak into sanitized headersDenis Vlasenko2009-02-141-16/+23
| | | | | libm/s_nextafterf.c: use /* */ comments
* - repair my r25322 that ment to deal with getdomainname()'s visibilityBernhard Reutner-Fischer2009-02-131-4/+3
|
* - we may need getdomainname internallyBernhard Reutner-Fischer2009-02-131-0/+3
|
* - fix compilation of !UCLIBC_HAS_CTYPE_TABLES by merging duplicate bitsBernhard Reutner-Fischer2009-02-131-58/+63
| | | | into ctype.h
* add comment why do we need _ISbit() macroDenis Vlasenko2009-02-111-0/+1
|
* Re-add _ISbit macro required to build libstdc++ from gcc toolchain.Carmelo Amoroso2009-02-101-12/+18
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* do not rely on features.h so that elf.h can be used on non-elf systems ↵Mike Frysinger2009-02-101-4/+7
| | | | (Darwin, Windows, etc...)
* Add strverscmp() and versionsort[64]().Denis Vlasenko2009-02-082-2/+19
| | | | | By Hai Zaar (haizaar AT codefidence.com)
* - remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer2009-01-213-1/+5
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-1/+1
| | | | | | | | | | | | | | | | | | | is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR