This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Implicit declaration fixes, libiberty



  In message <20000527221807.S10272@wolery.cumb.org>you write:
  > This is a wee bit hairier than the fixes in the target only libraries.
  > I've not made any effort to find prototypes in non-ANSI headers
  > (strings.h, memory.h, etc), but the defaults should be sane.
  > 
  > zw
  > 
  > 
  > 	* 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.
This is fine.  Please install it into the combined binutils/gdb repository too.

Thanks,
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]