summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-23 03:17:29 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-23 03:17:29 +0000
commite500d4286864b02e917a8e0dee3bdbbb497be21f (patch)
tree90687e0dba64c8ca48edd60cb90c824ad7163a67
parentce029034776e856c62872540e12dfbd3f87c5b23 (diff)
downloadgcc-e500d4286864b02e917a8e0dee3bdbbb497be21f.tar.gz
include:
* libiberty.h (hex_init): Revert delete. libiberty: * hex.c (hex_init): Provide empty stub. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46421 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--include/ChangeLog2
-rw-r--r--include/libiberty.h1
-rw-r--r--libiberty/ChangeLog2
-rw-r--r--libiberty/hex.c6
4 files changed, 11 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 605f094157e..6d15b6ed74a 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 542eae54de4..455643d3a92 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 5ef552f6fcc..ac7c0898b27 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 1c1d292823b..3ba04ba83de 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 \