* hashtab.c, partition.c, xmemdup.c: Include string.h
authorZack Weinberg <zackw@panix.com>
Mon, 29 May 2000 20:45:32 +0000 (20:45 +0000)
committerZack Weinberg <zackw@panix.com>
Mon, 29 May 2000 20:45:32 +0000 (20:45 +0000)
commit5c82d20a26d0b283c831dba782731b4273f4d4d8
tree70231ba2c493d6296f9920f168a0539ad2b5062e
parentdcb87e5cf4429a42408e7cb5790f6721efa344fa
* hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
* objalloc.c: Include config.h.  Include stdlib.h and don't
declare malloc or free if HAVE_STDLIB_H.
* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
else declare malloc without prototype.  Include string.h if
HAVE_STRING_H, else declare memset without prototype.  Don't
include stddef.h.

* sort.c: Bring over from GCC.
libiberty/ChangeLog
libiberty/hashtab.c
libiberty/objalloc.c
libiberty/partition.c
libiberty/pexecute.c
libiberty/sort.c [new file with mode: 0644]
libiberty/strerror.c
libiberty/strsignal.c
libiberty/xexit.c
libiberty/xmemdup.c