* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34254 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libiberty/ChangeLog 12 additions, 0 deletionslibiberty/ChangeLog
- libiberty/hashtab.c 4 additions, 0 deletionslibiberty/hashtab.c
- libiberty/objalloc.c 7 additions, 0 deletionslibiberty/objalloc.c
- libiberty/partition.c 4 additions, 0 deletionslibiberty/partition.c
- libiberty/pexecute.c 3 additions, 0 deletionslibiberty/pexecute.c
- libiberty/sort.c 3 additions, 0 deletionslibiberty/sort.c
- libiberty/strerror.c 11 additions, 8 deletionslibiberty/strerror.c
- libiberty/strsignal.c 11 additions, 8 deletionslibiberty/strsignal.c
- libiberty/xexit.c 3 additions, 0 deletionslibiberty/xexit.c
- libiberty/xmemdup.c 3 additions, 0 deletionslibiberty/xmemdup.c
Loading
Please register or sign in to comment