aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 60a6da3..2cf06f3 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -167,4 +167,7 @@ void serial_close PARAMS ((serial_t, int));
#define SERIAL_UN_FDOPEN(SERIAL_T) serial_close(SERIAL_T, 0)
+extern void serial_printf PARAMS ((serial_t desc, const char *, ...))
+ ATTR_FORMAT(printf, 2, 3);
+
#endif /* SERIAL_H */