diff options
author | Pedro Alves <pedro@codesourcery.com> | 2012-03-01 21:12:04 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2012-03-01 21:12:04 +0000 |
commit | 69592df5e64c73ce4966ebd35084b0c15e938907 (patch) | |
tree | b4308cf5a4ab6e7135a8e731b83d4a5a4397a807 /gdb/observer.c | |
parent | eae9ac185a655ee630af1a8f7a76e41125aec402 (diff) | |
download | gdb-69592df5e64c73ce4966ebd35084b0c15e938907.tar.gz |
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |