aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-bsd.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-bsd.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-bsd.c')
-rw-r--r--gdb/ser-bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ser-bsd.c b/gdb/ser-bsd.c
index 6479ba1..45db6cc 100644
--- a/gdb/ser-bsd.c
+++ b/gdb/ser-bsd.c
@@ -67,7 +67,7 @@ static fd_set readfds;
int
serial_open(name)
- char *name;
+ const char *name;
{
struct sgttyb sgttyb;
@@ -198,7 +198,7 @@ serial_setbaudrate(rate)
int
serial_write(str, len)
- char *str;
+ const char *str;
int len;
{
int cc;