This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/2]: Fix clean compile on AIX 5.3
- From: Chris January <chris dot january at allinea dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 12 Mar 2012 11:43:20 +0000
- Subject: [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)
{