diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-10-23 03:17:29 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-10-23 03:17:29 +0000 |
commit | e5969ba63a7204d50185d661343db648862616b0 (patch) | |
tree | 90687e0dba64c8ca48edd60cb90c824ad7163a67 | |
parent | aeb76991de5a1a2d628685c01d66871459f8fc4f (diff) | |
download | gcc-e5969ba63a7204d50185d661343db648862616b0.zip gcc-e5969ba63a7204d50185d661343db648862616b0.tar.gz gcc-e5969ba63a7204d50185d661343db648862616b0.tar.bz2 |
libiberty.h (hex_init): Revert delete.
include:
* libiberty.h (hex_init): Revert delete.
libiberty:
* hex.c (hex_init): Provide empty stub.
From-SVN: r46421
-rw-r--r-- | include/ChangeLog | 2 | ||||
-rw-r--r-- | include/libiberty.h | 1 | ||||
-rw-r--r-- | libiberty/ChangeLog | 2 | ||||
-rw-r--r-- | libiberty/hex.c | 6 |
4 files changed, 11 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 605f094..6d15b6e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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. diff --git a/include/libiberty.h b/include/libiberty.h index 542eae5..455643d 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -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. */ diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 5ef552f..ac7c089 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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. diff --git a/libiberty/hex.c b/libiberty/hex.c index 1c1d292..3ba04ba 100644 --- a/libiberty/hex.c +++ b/libiberty/hex.c @@ -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 \ |