import gdb-1999-08-09 snapshot
[deliverable/binutils-gdb.git] / gdb / remote-os9k.c
index 9bb927ef5018f00cf720bbb1342e75d257cdf43b..b14b460d7621484f306c20a7e805b8df39c11d5a 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>
@@ -93,24 +88,13 @@ static char readbuf[16];
 
 /* Send data to monitor.  Works just like printf. */
 static void
-#ifdef ANSI_PROTOTYPES
 printf_monitor (char *pattern,...)
-#else
-printf_monitor (va_alist)
-     va_dcl
-#endif
 {
   va_list args;
   char buf[200];
   int i;
 
-#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.029763 seconds and 4 git commands to generate.