summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* ether_*() depend on socket or IP supportBernhard Reutner-Fischer2009-11-251-1/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* in6_{pktinfo,mtuinfo}: provide type if IPV6 is onBernhard Reutner-Fischer2009-11-251-2/+3
| | | | | | Disable some IPv6 header defines if IPv6 is off. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* futimens: add functionBernhard Reutner-Fischer2009-11-201-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* features.h: reorganizePeter S. Mazinger2009-11-191-66/+59
| | | | | | | Reorganize so uClibc related changes are better seen when syncing with glibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* limits.h: updatePeter S. Mazinger2009-11-191-11/+12
| | | | | | | Should we care about compilers not defining __LONG_LONG_MAX__? Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* help broken apps to detect __GLIBC__ headersPeter S. Mazinger2009-11-191-4/+6
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* update headers and disable prototypesPeter S. Mazinger2009-11-193-13/+32
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* protocols.h: removePeter S. Mazinger2009-11-191-62/+0
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sync some headers and disable unused prototypesPeter S. Mazinger2009-11-1920-75/+267
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* msgrcv is of type ssize_tPeter S. Mazinger2009-11-191-3/+7
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* use __BYTE_ORDER and __*ENDIANPeter S. Mazinger2009-11-194-16/+16
| | | | | | | Those without the __ prefix are BSD specific. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-191-12/+21
| | | | | | | [__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* move __linux__ to libc-internal.hPeter S. Mazinger2009-11-192-8/+8
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* assert: make linenumber unsignedPeter S. Mazinger2009-11-191-4/+4
| | | | | | | Move attribute_noreturn to header. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nameser.h: sync with glibcPeter S. Mazinger2009-11-191-1/+1
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* inet.h: mark inet_ntoa_r as uClibc specificPeter S. Mazinger2009-11-191-1/+5
| | | | | | | Ddisable some prototypes of unimplemented funcs. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* move extend_alloca macro to alloca.hPeter S. Mazinger2009-11-192-31/+32
| | | | | | | guard it by _LIBC. __MAX_ALLOCA_CUTOFF is not needed on target either Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* a.out.h: why was this needed?Peter S. Mazinger2009-11-191-5/+1
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* no need for bits/syscalls.h on targetPeter S. Mazinger2009-11-191-5/+5
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* rm uClibc_arch_features.h on installPeter S. Mazinger2009-11-191-3/+0
| | | | | | | | uClibc_arch_features.h is included already by libc-symbols.h. If gcc needs it, fix gcc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* disable libutil related prototypes if asked toBernhard Reutner-Fischer2009-11-191-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* MAXFLOAT: obsolescent in SUSv4Bernhard Reutner-Fischer2009-11-192-0/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* 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>