diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-12 15:57:19 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-12 15:57:19 +0000 |
commit | e1aca11ede8b3722285f500f6efd050c24f2967b (patch) | |
tree | 4801723071df6548833b9150631ac6c6a6f0ac61 | |
parent | 649c7061d4463e9f0ce6989e066b02f22b7d9f74 (diff) | |
download | gdb-e1aca11ede8b3722285f500f6efd050c24f2967b.zip gdb-e1aca11ede8b3722285f500f6efd050c24f2967b.tar.gz gdb-e1aca11ede8b3722285f500f6efd050c24f2967b.tar.bz2 |
Add missing prototypes for build in ppx-aix.
gdb/ChangeLog:
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/aix-thread.c | 2 | ||||
-rw-r--r-- | gdb/rs6000-nat.c | 2 | ||||
-rw-r--r-- | gdb/xcoffsolib.c | 2 |
4 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98d380e..a42c007 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +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. + 2012-03-12 Joel Brobecker <brobecker@adacore.com> * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 0a9fae3..3cdab48 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 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) { |