[gdb/testsuite] Rewrite gdb_test_lines
[deliverable/binutils-gdb.git] / gdb / ser-uds.c
index a98469f67b8aad255b62bf1ff6b9fe2bc7732ff6..55089dd306d9ae2f3c6b7741d4466630d3e2fd4e 100644 (file)
@@ -1,6 +1,6 @@
 /* Serial interface for local domain connections on Un*x like systems.
 
-   Copyright (C) 1992-2018 Free Software Foundation, Inc.
+   Copyright (C) 1992-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -38,8 +38,8 @@ uds_open (struct serial *scb, const char *name)
   if (strlen (name) > UNIX_PATH_MAX - 1)
     {
       warning
-        (_("The socket name is too long.  It may be no longer than %s bytes."),
-         pulongest (UNIX_PATH_MAX - 1L));
+       (_("The socket name is too long.  It may be no longer than %s bytes."),
+        pulongest (UNIX_PATH_MAX - 1L));
       return -1;
     }
 
@@ -111,8 +111,9 @@ static const struct serial_ops uds_ops =
   uds_write_prim
 };
 
+void _initialize_ser_socket ();
 void
-_initialize_ser_socket (void)
+_initialize_ser_socket ()
 {
   serial_add_interface (&uds_ops);
 }
This page took 0.027106 seconds and 4 git commands to generate.