From 44d0cd3be323d9a9c932245ae8263c9c0a76fe90 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 1 Mar 2012 21:12:05 +0000 Subject: [PATCH] 2012-03-01 Pedro Alves * observer.c (observer_test_first_notification_function) (observer_test_second_notification_function) (observer_test_third_notification_function): Add declarations. --- gdb/ChangeLog | 6 ++++++ gdb/observer.c | 5 +++++ 2 files changed, 11 insertions(+) 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) { -- 2.30.2