diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-01 21:12:05 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-01 21:12:05 +0000 |
commit | 44d0cd3be323d9a9c932245ae8263c9c0a76fe90 (patch) | |
tree | 17b377efb4a483d6616bf8c7359cbe5c53f3851b /gdb | |
parent | ed01b82c02dfcd2b9650505045bac2ca8b3122fb (diff) | |
download | gdb-44d0cd3be323d9a9c932245ae8263c9c0a76fe90.zip gdb-44d0cd3be323d9a9c932245ae8263c9c0a76fe90.tar.gz gdb-44d0cd3be323d9a9c932245ae8263c9c0a76fe90.tar.bz2 |
2012-03-01 Pedro Alves <palves@redhat.com>
* observer.c (observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Add declarations.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/observer.c | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 56beb76..325e19d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2012-03-01 Pedro Alves <palves@redhat.com> + * observer.c (observer_test_first_notification_function) + (observer_test_second_notification_function) + (observer_test_third_notification_function): Add declarations. + +2012-03-01 Pedro Alves <palves@redhat.com> + * common/signals.c (default_target_signal_to_host) (default_target_signal_from_host): Move ... * arch-utils.c: ... here. diff --git a/gdb/observer.c b/gdb/observer.c index 4944480..276ca75 100644 --- a/gdb/observer.c +++ b/gdb/observer.c @@ -181,6 +181,11 @@ int observer_test_first_observer = 0; int observer_test_second_observer = 0; int observer_test_third_observer = 0; +/* Provide prototypes to silence -Wmissing-prototypes. */ +extern void observer_test_first_notification_function (int arg); +extern void observer_test_second_notification_function (int arg); +extern void observer_test_third_notification_function (int arg); + void observer_test_first_notification_function (int arg) { |