diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/expprint.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r-- | gdb/expprint.c | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c index edf4f8c..a21b723 100644 --- a/gdb/expprint.c +++ b/gdb/expprint.c @@ -36,9 +36,7 @@ static void print_subexp (struct expression *, int *, struct ui_file *, enum precedence); void -print_expression (exp, stream) - struct expression *exp; - struct ui_file *stream; +print_expression (struct expression *exp, struct ui_file *stream) { int pc = 0; print_subexp (exp, &pc, stream, PREC_NULL); @@ -50,11 +48,8 @@ print_expression (exp, stream) parentheses are needed here. */ static void -print_subexp (exp, pos, stream, prec) - register struct expression *exp; - register int *pos; - struct ui_file *stream; - enum precedence prec; +print_subexp (register struct expression *exp, register int *pos, + struct ui_file *stream, enum precedence prec) { register unsigned tem; register const struct op_print *op_print_tab; @@ -488,8 +483,7 @@ print_subexp (exp, pos, stream, prec) a string. NULL indicates that the opcode was not found in the current language table. */ char * -op_string (op) - enum exp_opcode op; +op_string (enum exp_opcode op) { int tem; register const struct op_print *op_print_tab; @@ -507,8 +501,7 @@ op_string (op) static char *op_name (int opcode); static char * -op_name (opcode) - int opcode; +op_name (int opcode) { switch (opcode) { @@ -693,10 +686,8 @@ op_name (opcode) } void -dump_prefix_expression (exp, stream, note) - struct expression *exp; - struct ui_file *stream; - char *note; +dump_prefix_expression (struct expression *exp, struct ui_file *stream, + char *note) { int elt; char *opcode_name; @@ -740,10 +731,7 @@ static int dump_subexp (struct expression *exp, struct ui_file *stream, int elt); static int -dump_subexp (exp, stream, elt) - struct expression *exp; - struct ui_file *stream; - int elt; +dump_subexp (struct expression *exp, struct ui_file *stream, int elt) { static int indent = 0; int i; @@ -973,10 +961,8 @@ dump_subexp (exp, stream, elt) } void -dump_postfix_expression (exp, stream, note) - struct expression *exp; - struct ui_file *stream; - char *note; +dump_postfix_expression (struct expression *exp, struct ui_file *stream, + char *note) { int elt; |