summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-10-22 22:32:57 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-10-22 22:32:57 +0000
commit26ad2982d82ef74fd741eb7dfdb664defaaa8027 (patch)
treeae9cc4c1fbfeb68fe417370772331169716d4a6c /include/libiberty.h
parentf20a609feb9b6f7c2bd4f6faf792915024d02cf3 (diff)
downloadgcc-26ad2982d82ef74fd741eb7dfdb664defaaa8027.tar.gz
libiberty.h (_hex_value): Const-ify.
include: * libiberty.h (_hex_value): Const-ify. (hex_init): Delete. libiberty: * hex.c (hex_init): Delete. (_hex_value): Const-ify and initialize at compile-time. From-SVN: r46417
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 9501365c6ee..542eae54de4 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -240,8 +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 void hex_init PARAMS ((void));
+extern const char _hex_value[_hex_array_size];
#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. */