2012-03-01 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:12:05 +0000 (21:12 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 1 Mar 2012 21:12:05 +0000 (21:12 +0000)
* observer.c (observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Add declarations.

gdb/ChangeLog
gdb/observer.c

index 56beb76..325e19d 100644 (file)
@@ -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.
index 4944480..276ca75 100644 (file)
@@ -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)
 {