* [PATCH 1/2]: Fix clean compile on AIX 5.3
@ 2012-03-12 11:43 Chris January
2012-03-12 15:59 ` Joel Brobecker
0 siblings, 1 reply; 2+ messages in thread
From: Chris January @ 2012-03-12 11:43 UTC (permalink / raw)
To: gdb-patches
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)
}
\f
+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)
{
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH 1/2]: Fix clean compile on AIX 5.3
2012-03-12 11:43 [PATCH 1/2]: Fix clean compile on AIX 5.3 Chris January
@ 2012-03-12 15:59 ` Joel Brobecker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2012-03-12 15:59 UTC (permalink / raw)
To: Chris January; +Cc: gdb-patches
> 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.
Thanks, Chris. This is OK, and I checked it in for you.
I don't think you have write access to the GDB repository, right?
Would you like to have "Write After Approval" priviledges? If yes,
please contact me privately.
--
Joel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-12 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 11:43 [PATCH 1/2]: Fix clean compile on AIX 5.3 Chris January
2012-03-12 15:59 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox