diff options
author | Tom Tromey <tromey@adacore.com> | 2022-02-03 11:45:59 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-02-04 07:37:22 -0700 |
commit | 2b531492447d10de27e6210117509097f6cbc9e0 (patch) | |
tree | 5e08243a39a075762c852e656563a6c3faf62b38 /gdb/charset.h | |
parent | fd3c53675c01472caaa4eb976781b9d6d2d3c53d (diff) | |
download | gdb-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.h | 5 |
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 */ |