]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Don't include <sys/types.h> or <stdlib.h>; <stddef.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 20:09:39 +0000 (20:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 20:09:39 +0000 (20:09 +0000)
commit94185e124d75a9d732de29fa642123eaf8605e0c
tree0bd000dfad72a6b12284b2af641db7a71685824d
parent4b7668c12a014b731213c5f20cebce91df25e977
Don't include <sys/types.h> or <stdlib.h>; <stddef.h>
suffices with C89 or better.
(alignof): New macro, portable to all C89 hosts.
(UNALIGNED): Use it.  Use uintptr_t if available, and assume
everything is unaligned otherwise; this is more portable than
assuming 'unsigned long int' will always work.
lib/md5.c
lib/sha1.c