summaryrefslogtreecommitdiff
path: root/lib/memchr.c
AgeCommit message (Collapse)Author
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering
Include <string.h> unconditionally. Include <limits.h> unconditionally. Include <stdlib.h> unconditionally. (LONG_MAX): Remove. (__memchr): Define via a prototype.
2000-10-28Update from libc.Jim Meyering
Adjust for portability: [HAVE_STDLIB_H]: Include stdlib.h. [HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h. Undef __memchr, too. [!weak_alias]: Define __memchr to memchr.
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1999-07-10cpp indentJim Meyering
1997-02-18.Jim Meyering
1996-07-14update FSF address in copyrightJim Meyering
1995-05-28merge with 1.11.4aJim Meyering
1995-05-21merge with 1.11.1bJim Meyering
1995-03-21merge with 1.11.dJim Meyering
1995-03-12Update from glibc.Jim Meyering
1994-10-02merge with 1.9.1gJim Meyering
1994-04-25.Jim Meyering
1993-10-21merge with 1.8dJim Meyering
1993-10-21* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.Jim Meyering
In the 64-bit assignment, be careful to cast the shift operand to long. Abort if sizeof (unsigned long) > 8.
1992-11-08Initial revisionJim Meyering