aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-osdata.c
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-12-12 21:14:48 +0100
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2018-12-12 21:14:48 +0100
commitc8749e5810115ad822ae22db8a8da4c92b0f285d (patch)
treed8ddac77f8be412cd7ad20c0af7a0b6eb19cee28 /gdb/nat/linux-osdata.c
parentb001de2320446ec803b4ee5e0b9710b025b84469 (diff)
downloadgdb-c8749e5810115ad822ae22db8a8da4c92b0f285d.zip
gdb-c8749e5810115ad822ae22db8a8da4c92b0f285d.tar.gz
gdb-c8749e5810115ad822ae22db8a8da4c92b0f285d.tar.bz2
OBVIOUS: Forward declare linux_xfer_osdata_info_os_types on one line to fix ARI warning.
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.
Diffstat (limited to 'gdb/nat/linux-osdata.c')
-rw-r--r--gdb/nat/linux-osdata.c3
1 files changed, 1 insertions, 2 deletions
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, "</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;