* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / remote-array.c
index dc1c4640465e6a41a1e5bbd67c920423afe1343d..2ee7c9a49a03a51d355a1b55e016a236141b0961 100644 (file)
@@ -28,7 +28,7 @@
 #include "gdbcore.h"
 #include "target.h"
 #include "wait.h"
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
 #else
 #include <varargs.h>
@@ -156,6 +156,7 @@ Specify the serial device it is connected to (e.g. /dev/ttya).",
   array_mourn_inferior,                /* to_mourn_inferior */
   0,                           /* to_can_run */
   0,                           /* to_notice_signals */
+  0,                           /* to_thread_alive */
   0,                            /* to_stop */
   process_stratum,             /* to_stratum */
   0,                           /* to_next */
@@ -173,7 +174,7 @@ Specify the serial device it is connected to (e.g. /dev/ttya).",
  * printf_monitor -- send data to monitor.  Works just like printf.
  */
 static void
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 printf_monitor(char *pattern, ...)
 #else
 printf_monitor(va_alist)
@@ -184,7 +185,7 @@ printf_monitor(va_alist)
   char buf[PBUFSIZ];
   int i;
 
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
   va_start(args, pattern);
 #else
   char *pattern;
@@ -224,7 +225,7 @@ write_monitor(data, len)
  *     to be formatted and printed. A CR is added after each string is printed.
  */
 static void
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 debuglogs(int level, char *pattern, ...)
 #else
 debuglogs(va_alist)
@@ -237,7 +238,7 @@ debuglogs(va_alist)
   char newbuf[PBUFSIZ];
   int i;
 
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
   va_start(args, pattern);
 #else
   char *pattern;
This page took 0.02421 seconds and 4 git commands to generate.