diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc705dc968..f17ce42ddb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-12-12 Philippe Waroquiers + + * nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward + declare on one line to fix ARI warning. + 2018-12-12 Andrew Burgess * infrun.c (infcall_suspend_state::infcall_suspend_state): New. diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c index baca7fe94c..e690884dd8 100644 --- a/gdb/nat/linux-osdata.c +++ b/gdb/nat/linux-osdata.c @@ -1274,8 +1274,7 @@ linux_xfer_osdata_modules (struct buffer *buffer) buffer_grow_str0 (buffer, "\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;