diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2019-10-29 17:52:24 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2019-10-29 17:52:24 -0400 |
commit | de93309a38afe2a7c0c519c8b69cca7c20d03fbc (patch) | |
tree | 703af5d00ba9f13dc0f5f075b6be519f399a9b7f /gdb/infcmd.c | |
parent | cdc46a9ff452788a97537114936fad1b142bc747 (diff) | |
download | gdb-de93309a38afe2a7c0c519c8b69cca7c20d03fbc.zip gdb-de93309a38afe2a7c0c519c8b69cca7c20d03fbc.tar.gz gdb-de93309a38afe2a7c0c519c8b69cca7c20d03fbc.tar.bz2 |
Clean up ada-lang.h
This patch cleans up ada-lang.h:
- Some functions just don't exist anymore, remove their declaration
- Some functions are implemented in ada-lang.c and only used there, make
them static to that file.
I moved some functions higher in the file to avoid having to
forward-declare them, but the implementations are unchanged.
gdb/ChangeLog:
* ada-lang.h (GROW_VECT): Move to ada-lang.c.
(grow_vect): Remove declaration.
(ada_type_of_array): Remove declaration.
(ada_update_initial_language): Remove declaration.
(ada_fold_name): Remove declaration.
(ada_fill_in_ada_prototype): Remove declaration.
(user_select_syms): Remove declaration.
(get_selections): Remove declaration.
(ada_tag_type): Remove declaration.
(ada_value_tag): Remove declaration.
(ada_is_others_clause): Remove declaration.
(ada_in_variant): Remove declaration.
(ada_value_struct_elt): Remove declaration.
(ada_attribute_name): Remove declaration.
(ada_system_address_type): Remove declaration.
* ada-lang.c (ada_watch_location_expression): Make static.
(GROW_VECT): Move here from ada-lang.h.
(grow_vect): Make static.
(ada_update_initial_language): Make static.
(ada_fold_name): Make static.
(ada_type_of_array): Make static.
(encoded_ordered_before): Move up.
(sort_choices): Move up.
(print_signatures): Move up.
(ada_print_symbol_signature): Move up.
(get_selections): Move up and make static.
(user_select_syms): Move up and make static.
(ada_value_struct_elt): Move up and make static.
(ada_tag_type): Make static.
(ada_value_tag): Make static.
(ada_is_others_clause): Make static.
(ada_in_variant): Make static.
(ada_attribute_name): Make static.
Change-Id: If0d46ba87d6585ab674c87244068a19e84718fc9
Diffstat (limited to 'gdb/infcmd.c')
0 files changed, 0 insertions, 0 deletions