From: Pedro Alves Date: Thu, 1 Mar 2012 21:12:05 +0000 (+0000) Subject: 2012-03-01 Pedro Alves X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44d0cd3be323d9a9c932245ae8263c9c0a76fe90;p=binutils-gdb.git 2012-03-01 Pedro Alves * observer.c (observer_test_first_notification_function) (observer_test_second_notification_function) (observer_test_third_notification_function): Add declarations. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 56beb76e7cc..325e19d7e2f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-03-01 Pedro Alves + + * observer.c (observer_test_first_notification_function) + (observer_test_second_notification_function) + (observer_test_third_notification_function): Add declarations. + 2012-03-01 Pedro Alves * common/signals.c (default_target_signal_to_host) diff --git a/gdb/observer.c b/gdb/observer.c index 4944480df15..276ca7596b2 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) {