aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2003-09-09 08:05:43 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2003-09-09 08:05:43 +0000
commitf86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c (patch)
treea5bc03526072fd062ac15874beec066e1f64a36c /gdb/expprint.c
parent83ee270eaa44b7c716584dcd19247427d956dc8b (diff)
downloadgdb-f86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c.zip
gdb-f86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c.tar.gz
gdb-f86f5ca3f51ad4cd6a84f094bc9ea7b0e97f132c.tar.bz2
2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>
* p-lang.c: Eliminate "register". * c-lang.c: Ditto. * expprint.c: Ditto. * f-lang.c: Ditto. * jv-lang.c: Ditto. * language.c: Ditto. * m2-lang.c: Ditto. * parse.c: Ditto. * scm-lang.c: Ditto. * objc-lang.c: Ditto.
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index bbc63e7..a3001b1 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -54,14 +54,14 @@ print_expression (struct expression *exp, struct ui_file *stream)
parentheses are needed here. */
static void
-print_subexp (register struct expression *exp, register int *pos,
+print_subexp (struct expression *exp, int *pos,
struct ui_file *stream, enum precedence prec)
{
- register unsigned tem;
- register const struct op_print *op_print_tab;
- register int pc;
+ unsigned tem;
+ const struct op_print *op_print_tab;
+ int pc;
unsigned nargs;
- register char *op_str;
+ char *op_str;
int assign_modify = 0;
enum exp_opcode opcode;
enum precedence myprec = PREC_NULL;
@@ -535,7 +535,7 @@ char *
op_string (enum exp_opcode op)
{
int tem;
- register const struct op_print *op_print_tab;
+ const struct op_print *op_print_tab;
op_print_tab = current_language->la_op_print_tab;
for (tem = 0; op_print_tab[tem].opcode != OP_NULL; tem++)