sim: move -Werror disabling to Makefile
[binutils-gdb.git] / gdb / ser-pipe.c
index 61d5708ea09cc490648e048c72fd3f480e999df9..cc72010ae46fb945fdde9cb6af40b47e0d76132d 100644 (file)
@@ -1,5 +1,5 @@
 /* Serial interface for a pipe to a separate program
-   Copyright (C) 1999-2019 Free Software Foundation, Inc.
+   Copyright (C) 1999-2021 Free Software Foundation, Inc.
 
    Contributed by Cygnus Solutions.
 
@@ -228,8 +228,9 @@ static const struct serial_ops pipe_ops =
   ser_unix_write_prim
 };
 
+void _initialize_ser_pipe ();
 void
-_initialize_ser_pipe (void)
+_initialize_ser_pipe ()
 {
   serial_add_interface (&pipe_ops);
 }