]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/partition.c
hashtab.c, [...]: Include string.h if HAVE_STRING_H.
authorZack Weinberg <zack@wolery.cumb.org>
Mon, 29 May 2000 19:33:52 +0000 (19:33 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 29 May 2000 19:33:52 +0000 (19:33 +0000)
commitd11ec6f0d9fae7524090b3e5ea52e031e617f90f
tree0c1fceddd218b3497d0fd2f87e6d228a281215ad
parentea4a453b8909eb0f3612bbf98fe2e6a2a8ee4114
hashtab.c, [...]: Include string.h if HAVE_STRING_H.

* hashtab.c, partition.c, sort.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.

From-SVN: r34254
libiberty/ChangeLog
libiberty/hashtab.c
libiberty/objalloc.c
libiberty/partition.c
libiberty/pexecute.c
libiberty/sort.c
libiberty/strerror.c
libiberty/strsignal.c
libiberty/xexit.c
libiberty/xmemdup.c