import gdb-1999-08-09 snapshot
[deliverable/binutils-gdb.git] / gdb / remote-st.c
index 79c6b425f329cc0c796a1bb31251f4d760b95254..3400903503fa9f7f3ddf170075db11e5abae2925 100644 (file)
 #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);
This page took 0.024168 seconds and 4 git commands to generate.