Add `set print array-indexes' tests for C/C++ arrays
[binutils-gdb.git] / gdb / ser-uds.c
index a98469f67b8aad255b62bf1ff6b9fe2bc7732ff6..ead02ae2070bd3efc690643dd2a6bcafbce76bf4 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-2022 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);
 }