aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 796f2d2..5363929 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -56,9 +56,9 @@ void serial_raw PARAMS ((int fd, struct ttystate *oldstate));
void serial_normal PARAMS ((void));
/* Read one char from the serial device with <TO>-second timeout.
- Return char, and set ok if ok. */
+ Returns char if ok, else EOF, -2 for timeout, -3 for anything else */
-int serial_timedreadchar PARAMS ((int to, int *ok));
+int serial_readchar PARAMS ((int to));
/* Set the baudrate to the decimal value supplied, and return 1, or fail and
return 0. */