summaryrefslogtreecommitdiff
path: root/gdb/parser-defs.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-16 14:36:55 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-16 14:36:55 +0000
commitae0c443d84a751f25e711b461c68addee8131774 (patch)
tree5fd03ee39c583d6628819930aa6ebe5a194bac9d /gdb/parser-defs.h
parentd99f7e48425eda1bf7bf41bcc607420ad311c21b (diff)
downloadbinutils-gdb-ae0c443d84a751f25e711b461c68addee8131774.tar.gz
gdb/
Code cleanup. * parse.c (write_exp_elt): Change argument to pass a pointer of union `exp_element' instead of an element of the same and make the function static. (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block) (write_exp_elt_objfile, write_exp_elt_longcst, write_exp_elt_dblcst) (write_exp_elt_decfloatcst, write_exp_elt_type, write_exp_elt_intern): Change argument of `write_exp_elt' function call. Remove extra spaces from comments. * parser-defs.h (write_exp_elt): Remove prototype.
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r--gdb/parser-defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h
index 3f743d15bed..bca80146546 100644
--- a/gdb/parser-defs.h
+++ b/gdb/parser-defs.h
@@ -131,8 +131,6 @@ union type_stack_elt
extern union type_stack_elt *type_stack;
extern int type_stack_depth, type_stack_size;
-extern void write_exp_elt (union exp_element);
-
extern void write_exp_elt_opcode (enum exp_opcode);
extern void write_exp_elt_sym (struct symbol *);