Index: gdb/ser-base.h |
diff --git a/gdb/ser-base.h b/gdb/ser-base.h |
index ba6849aa8d36f68ed5ad1bd7850e433a2a92dd08..e5fe9e111b95555622af643884304eb855f17392 100644 |
--- a/gdb/ser-base.h |
+++ b/gdb/ser-base.h |
@@ -1,6 +1,6 @@ |
/* Generic serial interface functions. |
- Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2005-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -45,7 +45,7 @@ extern int ser_base_setbaudrate (struct serial *scb, int rate); |
extern int ser_base_setstopbits (struct serial *scb, int rate); |
extern int ser_base_drain_output (struct serial *scb); |
-extern int ser_base_write (struct serial *scb, const char *str, int len); |
+extern int ser_base_write (struct serial *scb, const void *buf, size_t count); |
extern void ser_base_async (struct serial *scb, int async_p); |
extern int ser_base_readchar (struct serial *scb, int timeout); |