OSDN Git Service

merge from gcc
authordj <dj>
Tue, 23 Oct 2001 15:31:55 +0000 (15:31 +0000)
committerdj <dj>
Tue, 23 Oct 2001 15:31:55 +0000 (15:31 +0000)
include/ChangeLog
include/libiberty.h

index 6c045d3..67caa96 100644 (file)
@@ -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.
index 9501365..455643d 100644 (file)
@@ -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