summaryrefslogtreecommitdiff
path: root/gdb/remote.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote.h')
-rw-r--r--gdb/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.h b/gdb/remote.h
index 4477148f9c8..df6d7bc5790 100644
--- a/gdb/remote.h
+++ b/gdb/remote.h
@@ -36,7 +36,7 @@ extern void getpkt (char *buf, long sizeof_buf, int forever);
we are debugging (remote_debug) and want to print the sent packet
as a string */
-extern int putpkt (char *buf);
+extern int putpkt (const char *buf);
/* Send HEX encoded string to the target console. (gdb_stdtarg) */