OBVIOUS: Forward declare linux_xfer_osdata_info_os_types on one line to fix ARI warning.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 12 Dec 2018 20:14:48 +0000 (21:14 +0100)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 12 Dec 2018 20:14:48 +0000 (21:14 +0100)
2018-12-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>

* nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward
declare on one line to fix ARI warning.

gdb/ChangeLog
gdb/nat/linux-osdata.c

index dc705dc..f17ce42 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward
+       declare on one line to fix ARI warning.
+
 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * infrun.c (infcall_suspend_state::infcall_suspend_state): New.
index baca7fe..e690884 100644 (file)
@@ -1274,8 +1274,7 @@ linux_xfer_osdata_modules (struct buffer *buffer)
   buffer_grow_str0 (buffer, "</osdata>\n");
 }
 
-static void
-linux_xfer_osdata_info_os_types (struct buffer *buffer);
+static void linux_xfer_osdata_info_os_types (struct buffer *buffer);
 
 struct osdata_type {
   const char *type;