diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-09 21:36:23 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-09 21:36:23 +0000 |
commit | a27fefe150437b815e05a7b2f665ecd7beadee1c (patch) | |
tree | 03125a5903321c99f52957dda62b7c184e97391d /gdb/remote-st.c | |
parent | 30596ccddf8f2c54b474c35d984cc95e6c8af805 (diff) | |
download | gdb-a27fefe150437b815e05a7b2f665ecd7beadee1c.tar.gz |
import gdb-1999-08-09 snapshot
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r-- | gdb/remote-st.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c index 79c6b425f32..3400903503f 100644 --- a/gdb/remote-st.c +++ b/gdb/remote-st.c @@ -39,11 +39,6 @@ #include "gdbcore.h" #include "target.h" #include "wait.h" -#ifdef ANSI_PROTOTYPES -#include <stdarg.h> -#else -#include <varargs.h> -#endif #include <signal.h> #include "gdb_string.h" #include <sys/types.h> @@ -71,23 +66,12 @@ static serial_t st2000_desc; /* Send data to stdebug. Works just like printf. */ static void -#ifdef ANSI_PROTOTYPES printf_stdebug (char *pattern,...) -#else -printf_stdebug (va_alist) - va_dcl -#endif { va_list args; char buf[200]; -#ifdef ANSI_PROTOTYPES va_start (args, pattern); -#else - char *pattern; - va_start (args); - pattern = va_arg (args, char *); -#endif vsprintf (buf, pattern, args); va_end (args); |