summaryrefslogtreecommitdiff
path: root/gdb/common/rsp-low.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/rsp-low.h')
-rw-r--r--gdb/common/rsp-low.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/rsp-low.h b/gdb/common/rsp-low.h
index 2b3685f0f0d..99dc93f4542 100644
--- a/gdb/common/rsp-low.h
+++ b/gdb/common/rsp-low.h
@@ -41,7 +41,7 @@ extern char *pack_hex_byte (char *pkt, int byte);
in RESULT. Reads until a non-hex digit is seen. Returns a pointer
to the terminating character. */
-extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
+extern const char *unpack_varlen_hex (const char *buff, ULONGEST *result);
/* HEX is a string of characters representing hexadecimal digits.
Convert pairs of hex digits to bytes and store sequentially into