This is the mail archive of the gdb-patches@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]

Re: New ARI warning Thu Jul 7 01:55:00 UTC 2011


> 404a405
> > gdb/jit.c:44: code: function call in first column: Function name in first column should be restricted to function implementation
> gdb/jit.c:44:jit_inferior_init (struct gdbarch *gdbarch);

Fixed thusly:

-- 
Joel
commit e4f297fa22d3ffbb9f114931a1530dce3b3b97bd
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jul 6 19:03:34 2011 -0700

    Minor forward declaration reformatting (jit.c)
    
    gdb/ChangeLog:
    
     	* jit.c (jit_inferior_init): Reformat forward declaration.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 73f5340..a01bf0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-06  Joel Brobecker  <brobecker@adacore.com>
+
+	* jit.c (jit_inferior_init): Reformat forward declaration.
+
 2011-07-06  Matt Rice  <ratmice@gmail.com>
 
 	* MAINTAINERS (Write After Approval): Add myself to the list.
diff --git a/gdb/jit.c b/gdb/jit.c
index 01ac5fa..eb1bcc7 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -40,8 +40,7 @@ static const char *const jit_descriptor_name = "__jit_debug_descriptor";
 
 static const struct inferior_data *jit_inferior_data = NULL;
 
-static void
-jit_inferior_init (struct gdbarch *gdbarch);
+static void jit_inferior_init (struct gdbarch *gdbarch);
 
 /* Non-zero if we want to see trace of jit level stuff.  */
 

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