From e1aca11ede8b3722285f500f6efd050c24f2967b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 12 Mar 2012 15:57:19 +0000 Subject: [PATCH] Add missing prototypes for build in ppx-aix. gdb/ChangeLog: 2012-03-12 Chris January * aix-thread.c (_initialize_aix_thread): Add prototype. * rs6000-nat.c (_initialize_rs6000_nat): Ditto. * xcoffsolib.c (_initialize_xcoffsolib): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/aix-thread.c | 2 ++ gdb/rs6000-nat.c | 2 ++ gdb/xcoffsolib.c | 2 ++ 4 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98d380e0ba3..a42c0073dee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-03-12 Chris January + + * aix-thread.c (_initialize_aix_thread): Add prototype. + * rs6000-nat.c (_initialize_rs6000_nat): Ditto. + * xcoffsolib.c (_initialize_xcoffsolib): Ditto. + 2012-03-12 Joel Brobecker * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 0a9fae32c42..3cdab4852cc 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -1829,6 +1829,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 31ef64a9059..117ca014d6e 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 0a4f5fe8897..46cf808a85a 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) { -- 2.30.2