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]

[PATCH 1/2]: Fix clean compile on AIX 5.3


Add some missing prototypes (required due to -Wmissing-prototypes).

(Assignment on file)

2012-03-12  Chris January  <chris.january@allinea.com>

        * aix-thread.c (_initialize_aix_thread): Add prototype.
        * rs6000-nat.c (_initialize_rs6000_nat): Ditto.
        * xcoffsolib.c (_initialize_xcoffsolib): Ditto.
---
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 0a9fae3..f9787e3 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1829,6 +1830,8 @@ init_aix_thread_ops (void)
 /* Module startup initialization function, automagically called by
    init.c.  */
 
+void _initialize_aix_thread (void);
+
 void
 _initialize_aix_thread (void)
 {
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 31ef64a..117ca01 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -1214,6 +1214,8 @@ find_toc_address (CORE_ADDR pc)
 }
 
 
+void _initialize_rs6000_nat (void);
+
 void
 _initialize_rs6000_nat (void)
 {
diff --git a/gdb/xcoffsolib.c b/gdb/xcoffsolib.c
index 0a4f5fe..46cf808 100644
--- a/gdb/xcoffsolib.c
+++ b/gdb/xcoffsolib.c
@@ -158,6 +158,8 @@ sharedlibrary_command (char *pattern, int from_tty)
   }
 }
 
+void _initialize_xcoffsolib (void);
+
 void
 _initialize_xcoffsolib (void)
 {



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