diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-14 10:25:39 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-03-14 10:25:53 -0400 |
commit | cf81cf6081d1a8c15c477f903d15d7b88f31b686 (patch) | |
tree | 354070a0a0ed09edfb17cb97c03986d23f66602b /gdb/parser-defs.h | |
parent | c799a79d66d09c442d85467986c2e8873f09297c (diff) | |
download | fsf-binutils-gdb-cf81cf6081d1a8c15c477f903d15d7b88f31b686.zip fsf-binutils-gdb-cf81cf6081d1a8c15c477f903d15d7b88f31b686.tar.gz fsf-binutils-gdb-cf81cf6081d1a8c15c477f903d15d7b88f31b686.tar.bz2 |
Make length_of_subexp static
It isn't used anywhere else than the file it's defined in.
gdb/ChangeLog:
* parse.c (length_of_subexp): Make static.
* parser-defs.h (length_of_subexp): Remove.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 85da6a4..23757d9 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -246,8 +246,6 @@ extern void type_stack_cleanup (void *arg); extern void push_typelist (VEC (type_ptr) *typelist); -extern int length_of_subexp (struct expression *, int); - extern int dump_subexp (struct expression *, struct ui_file *, int); extern int dump_subexp_body_standard (struct expression *, |