This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] OBVIOUS: Forward declare linux_xfer_osdata_info_os_types on one line to fix ARI warning.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8749e5810115ad822ae22db8a8da4c92b0f285d

commit c8749e5810115ad822ae22db8a8da4c92b0f285d
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date:   Wed Dec 12 21:14:48 2018 +0100

    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.

Diff:
---
 gdb/ChangeLog          | 5 +++++
 gdb/nat/linux-osdata.c | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc705dc..f17ce42 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]