]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include <stddef.h>, not <stdlib.h> and <sys/types.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 22:21:18 +0000 (22:21 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 22:21:18 +0000 (22:21 +0000)
commit8792823f5c687e91ac04ebedf74661e908e2572b
treea0adf71be7683137ef2384be888ce9200e1f5bd2
parent5048f3461c3d20af068b38b4249f01ad236eb095
Include <stddef.h>, not <stdlib.h> and <sys/types.h>.
(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.
lib/memrchr.c