Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:30:39 +0000 (18:30 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:30:39 +0000 (18:30 +0000)
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
(NEED_DECLARATION_SBRK): New macro.
* configure, config.in: Rebuild.
* bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
(sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.

binutils/ChangeLog
binutils/acconfig.h

index ee48db67dbedd1899a18c8c47f326f9dd832a5c5..11bc72234eb7c1a94173534bdd8e53e1466a4358 100644 (file)
@@ -1,3 +1,15 @@
+Wed Aug  7 14:27:33 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
+       * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
+       (NEED_DECLARATION_SBRK): New macro.
+       * configure, config.in: Rebuild.
+       * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR.
+       (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
+
+       * prdbg.c (pr_end_struct_type): Avoid using a string constant in
+       assert, for the benefit of broken assert macros.
+
 Fri Jul 26 14:06:50 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * objdump.c (disassemble_data): Set disasm_info.flavour from
 Fri Jul 26 14:06:50 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * objdump.c (disassemble_data): Set disasm_info.flavour from
index bcd47f05b6638ef0f23edcd76e596f43484b3c63..a3e0eabae12ae301f387b89f8aa311dbb007a620 100644 (file)
@@ -1,6 +1,12 @@
 
 
+/* Whether strstr must be declared even if <string.h> is included.  */
+#undef NEED_DECLARATION_STRSTR
+
 /* Whether fprintf must be declared even if <stdio.h> is included.  */
 #undef NEED_DECLARATION_FPRINTF
 /* Whether fprintf must be declared even if <stdio.h> is included.  */
 #undef NEED_DECLARATION_FPRINTF
+
+/* Whether sbrk must be declared even if <unistd.h> is included.  */
+#undef NEED_DECLARATION_SBRK
 @TOP@
 
 /* Is the type time_t defined in <time.h>?  */
 @TOP@
 
 /* Is the type time_t defined in <time.h>?  */