summaryrefslogtreecommitdiff
path: root/gdb/serial.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:36:23 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:36:23 +0000
commita27fefe150437b815e05a7b2f665ecd7beadee1c (patch)
tree03125a5903321c99f52957dda62b7c184e97391d /gdb/serial.c
parent30596ccddf8f2c54b474c35d984cc95e6c8af805 (diff)
downloadgdb-a27fefe150437b815e05a7b2f665ecd7beadee1c.tar.gz
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/serial.c')
-rw-r--r--gdb/serial.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/serial.c b/gdb/serial.c
index dca48bcb3e1..9dd316f1dbe 100644
--- a/gdb/serial.c
+++ b/gdb/serial.c
@@ -492,27 +492,12 @@ connect_command (args, fromtty)
}
#endif /* 0 */
-/* VARARGS */
void
-#ifdef ANSI_PROTOTYPES
serial_printf (serial_t desc, const char *format,...)
-#else
-serial_printf (va_alist)
- va_dcl
-#endif
{
va_list args;
char *buf;
-#ifdef ANSI_PROTOTYPES
va_start (args, format);
-#else
- serial_t desc;
- char *format;
-
- va_start (args);
- desc = va_arg (args, serial_t);
- format = va_arg (args, char *);
-#endif
vasprintf (&buf, format, args);
SERIAL_WRITE (desc, buf, strlen (buf));