forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user