aboutsummaryrefslogtreecommitdiff
path: root/gdb/observer.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-01 21:12:05 +0000
committerPedro Alves <palves@redhat.com>2012-03-01 21:12:05 +0000
commit44d0cd3be323d9a9c932245ae8263c9c0a76fe90 (patch)
tree17b377efb4a483d6616bf8c7359cbe5c53f3851b /gdb/observer.c
parented01b82c02dfcd2b9650505045bac2ca8b3122fb (diff)
downloadgdb-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/observer.c')
-rw-r--r--gdb/observer.c5
1 files changed, 5 insertions, 0 deletions
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)
{