From c8749e5810115ad822ae22db8a8da4c92b0f285d Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Wed, 12 Dec 2018 21:14:48 +0100 Subject: OBVIOUS: Forward declare linux_xfer_osdata_info_os_types on one line to fix ARI warning. 2018-12-12 Philippe Waroquiers * nat/linux-osdata.c (linux_xfer_osdata_info_os_types): Forward declare on one line to fix ARI warning. --- gdb/nat/linux-osdata.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/nat') diff --git a/gdb/nat/linux-osdata.c b/gdb/nat/linux-osdata.c index baca7fe..e690884 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; -- cgit v1.1