summaryrefslogtreecommitdiff
path: root/lib/memrchr.c
AgeCommit message (Collapse)Author
2005-02-03[!defined _LIBC]: Include "memrchr.h" rather than <string.h>.Paul Eggert
Don't bother including stddef.h.
2004-08-02Don't include inttypes.h or stdint.h.Paul Eggert
(UNALIGNED_P): Remove. (__memrchr): Use size_t, not uintptr_t, to test alignment.
2004-07-29(UNALIGNED_P): Use sizeof, not alignof.Paul Eggert
2004-07-28Include <stddef.h>, not <stdlib.h> and <sys/types.h>.Paul Eggert
(LONG_MAX_32_BITS): Remove. Include <inttypes.h> and <stdint.h> if available. (alignof, UNALIGNEDP): New macro, portable to all C89 hosts. (__memrchr): Don't assume unsigned long int is either 4 or 8 bytes; let it be any number of bytes greater than or equal to 4.
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering
Include <string.h> unconditionally. Include <limits.h> unconditionally. (LONG_MAX): Remove. (__memchr): Define via a prototype.
2003-07-10Switch from LGPL to GPL.Jim Meyering
2000-12-02Include <config.h> before any system include file.Jim Meyering
2000-10-21New file, derived from the one in GNU libc.Jim Meyering