aboutsummaryrefslogtreecommitdiff
path: root/gdb/charset.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-02-03 11:45:59 -0700
committerTom Tromey <tromey@adacore.com>2022-02-04 07:37:22 -0700
commit2b531492447d10de27e6210117509097f6cbc9e0 (patch)
tree5e08243a39a075762c852e656563a6c3faf62b38 /gdb/charset.h
parentfd3c53675c01472caaa4eb976781b9d6d2d3c53d (diff)
downloadgdb-2b531492447d10de27e6210117509097f6cbc9e0.zip
gdb-2b531492447d10de27e6210117509097f6cbc9e0.tar.gz
gdb-2b531492447d10de27e6210117509097f6cbc9e0.tar.bz2
Remove host_hex_value
I noticed that host_hex_value is redundant, because gdbsupport already has fromhex. This patch removes the former in favor of the latter. Regression tested on x86-64 Fedora 34.
Diffstat (limited to 'gdb/charset.h')
-rw-r--r--gdb/charset.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/charset.h b/gdb/charset.h
index 871f0d8..7a7041f 100644
--- a/gdb/charset.h
+++ b/gdb/charset.h
@@ -159,9 +159,4 @@ class wchar_iterator
character. */
char host_letter_to_control_character (char c);
-/* Convert a hex digit character to its numeric value. E.g., 'f' is
- converted to 15. This function assumes that C is a valid hex
- digit. Both upper- and lower-case letters are recognized. */
-int host_hex_value (char c);
-
#endif /* CHARSET_H */