]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libiberty.h (hex_init): Revert delete.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 23 Oct 2001 03:17:29 +0000 (03:17 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 23 Oct 2001 03:17:29 +0000 (03:17 +0000)
include:
* libiberty.h (hex_init): Revert delete.

libiberty:
* hex.c (hex_init): Provide empty stub.

From-SVN: r46421

include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/hex.c

index 605f094157eee3ea271b7a8a44784c244f1d805a..6d15b6ed74a1a87e596f75ec555ef4d4ef293ca5 100644 (file)
@@ -1,5 +1,7 @@
 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * libiberty.h (hex_init): Revert delete.
+
        * libiberty.h (_hex_value): Const-ify.
        (hex_init): Delete.
 
index 542eae54de4f3d94adc2a5dcb5b8a2d78e588f22..455643d3a92c5764de1b2043314be4e600e40d48 100644 (file)
@@ -241,6 +241,7 @@ extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
 #define _hex_array_size 256
 #define _hex_bad       99
 extern const char _hex_value[_hex_array_size];
+extern void hex_init PARAMS ((void));
 #define hex_p(c)       (hex_value (c) != _hex_bad)
 /* If you change this, note well: Some code relies on side effects in
    the argument being performed exactly once.  */
index 5ef552f6fcc732f94e255fd35ad71ceafee22548..ac7c0898b27d90d825ea12b43e80587940a63380 100644 (file)
@@ -1,5 +1,7 @@
 2001-10-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
+       * hex.c (hex_init): Provide empty stub.
+
        * hex.c (hex_init): Delete.
        (_hex_value): Const-ify and initialize at compile-time.
 
index 1c1d292823bd5410d1c5dc76b2ba75c8caefd7f1..3ba04ba83deaf431a6a902b13815f1115f7b1b3b 100644 (file)
@@ -20,6 +20,12 @@ Boston, MA 02111-1307, USA.  */
 #include <stdio.h>  /* for EOF */
 #include "libiberty.h"
 
+/* Provided for ABI compatibility.  */
+void
+hex_init ()
+{
+}
+
 /* Are we ASCII? */
 #if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \
   && 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21 \