summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-23 15:32:45 +0000
committerDJ Delorie <dj@delorie.com>2001-10-23 15:32:45 +0000
commit75977e5d0e4fd2099c690e496b6ff6f4a49520dd (patch)
treef82da11d6e0f501c775596d78b1636643d0705bf /include
parent494ed7f1c8bf598acac4d1ff652575b10a435a9e (diff)
downloadgdb-75977e5d0e4fd2099c690e496b6ff6f4a49520dd.tar.gz
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog7
-rw-r--r--include/libiberty.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 6c045d3bb47..67caa96ee03 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
2001-10-16 Christopher Faylor <cgf@redhat.com>
* filenames.h: Add cygwin to the list of dosish style path systems.
diff --git a/include/libiberty.h b/include/libiberty.h
index 9501365c6ee..455643d3a92 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -240,7 +240,7 @@ extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
#define _hex_array_size 256
#define _hex_bad 99
-extern char _hex_value[_hex_array_size];
+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