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 dc705dc968d15b370839984d24a0921cebd0765d..f17ce42ddb92e0e53507546e7ecfcca3a6695ac7 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 baca7fe94cc977628e140a9306d3fb306125ea46..e690884dd81e43333050547eeeb55674734de9e5 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;