summaryrefslogtreecommitdiffstats
path: root/gdb/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 7e7e530668..9b967b2e23 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -62,7 +62,7 @@ void serial_add_interface PARAMS ((struct serial_ops *optable));
serial_t serial_open PARAMS ((const char *name));
-serial_t serial_fdopen PARAMS ((int fd));
+serial_t serial_fdopen PARAMS ((const int fd));
/* For most routines, if a failure is indicated, then errno should be
examined. */
OpenPOWER on IntegriCloud