* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index 6688628bdad200be91352130f255d75fe5bd06de..9eb9647eb5752def8128afd637803dab0489be6d 100644 (file)
@@ -73,7 +73,7 @@ tcp_open(scb, name)
 
   if (!hostent)
     {
-      fprintf (stderr, "%s: unknown host\n", hostname);
+      fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", hostname);
       errno = ENOENT;
       return -1;
     }
@@ -259,15 +259,6 @@ tcp_setbaudrate(scb, rate)
   return 0;                    /* Never fails! */
 }
 
-static int
-tcp_set_process_group (scb, ttystate, group)
-     serial_t scb;
-     serial_ttystate ttystate;
-     int group;
-{
-  return 0;
-}
-
 static int
 tcp_write(scb, str, len)
      serial_t scb;
@@ -316,7 +307,6 @@ static struct serial_ops tcp_ops =
   tcp_print_tty_state,
   tcp_noflush_set_tty_state,
   tcp_setbaudrate,
-  tcp_set_process_group
 };
 
 void
This page took 0.023375 seconds and 4 git commands to generate.