aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-termios.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-09-09 04:09:56 +0000
committerStu Grossman <grossman@cygnus>1992-09-09 04:09:56 +0000
commited3f6049b487b585b9ebaf6f0847c9df271719ec (patch)
tree8539da381f4287454e753bbd7b1cd5a14835b06e /gdb/ser-termios.c
parenta904db53486bd7ac244a83e59e3274eb869575f4 (diff)
downloadgdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.zip
gdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.tar.gz
gdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.tar.bz2
* serial.h: Fix prototye for serial_raw().
* ser-bsd.c, ser-termios.c: Fix args for serial_open() & serial_write() to match prototypes. * remote-st2000.c (get_reg_name): Make *p be const.
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;