summaryrefslogtreecommitdiff
path: root/gdb/ser-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-unix.h')
-rw-r--r--gdb/ser-unix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ser-unix.h b/gdb/ser-unix.h
index 5ba01f964a9..03dbdef04f9 100644
--- a/gdb/ser-unix.h
+++ b/gdb/ser-unix.h
@@ -22,6 +22,8 @@
#ifndef SER_UNIX_H
#define SER_UNIX_H
-extern int ser_unix_readchar (struct serial *scb, int timeout);
+extern int ser_unix_read_prim (struct serial *scb, size_t count);
+extern int ser_unix_write_prim (struct serial *scb, const void *buf,
+ size_t count);
#endif