aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-termios.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-termios.c')
-rw-r--r--gdb/ser-termios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ser-termios.c b/gdb/ser-termios.c
index 0a11f08..881689f 100644
--- a/gdb/ser-termios.c
+++ b/gdb/ser-termios.c
@@ -70,7 +70,7 @@ static fd_set readfds;
int
serial_open(name)
- char *name;
+ const char *name;
{
struct termios termios;
@@ -193,7 +193,7 @@ serial_setbaudrate(rate)
int
serial_write(str, len)
- char *str;
+ const char *str;
int len;
{
int cc;