Libc update to simplify merge.

Bumping libc files for unsupported architectures, to simplify merging.
A bunch of small fixes:
 * in libutil update
 * the macro in endian.h
 * some undefined types due to clear separation from host.
 * Fix a warning for cdbr.c

Some modification which were required for the new build system:
 * inclusion path for const.h in sconst, still hacky
 * Removed default malloc.c which conflicts on some occasions.
This commit is contained in:
2012-09-17 11:09:12 +02:00
parent dba3562d78
commit e415d48872
183 changed files with 3292 additions and 2385 deletions

View File

@@ -127,10 +127,10 @@ __END_DECLS
#define htonl(x) bswap32(__CAST(uint32_t, (x)))
#define htons(x) bswap16(__CAST(uint16_t, (x)))
#define NTOHL(x) (x) = ntohl(__CAST(uint32_t, (x)))
#define NTOHS(x) (x) = ntohs(__CAST(uint16_t, (x)))
#define HTONL(x) (x) = htonl(__CAST(uint32_t, (x)))
#define HTONS(x) (x) = htons(__CAST(uint16_t, (x)))
#define NTOHL(x) ntohl(__CAST(uint32_t, (x)))
#define NTOHS(x) ntohs(__CAST(uint16_t, (x)))
#define HTONL(x) htonl(__CAST(uint32_t, (x)))
#define HTONS(x) htons(__CAST(uint16_t, (x)))
#endif /* LITTLE_ENDIAN || !defined(__lint__) */
/*