aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 854a151..03282ea 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -1158,8 +1158,8 @@ value_binop (struct value *arg1, struct value *arg2, enum exp_opcode op)
int
value_logical_not (struct value *arg1)
{
- register int len;
- register char *p;
+ int len;
+ char *p;
struct type *type1;
COERCE_NUMBER (arg1);
@@ -1216,8 +1216,8 @@ value_strcmp (struct value *arg1, struct value *arg2)
int
value_equal (struct value *arg1, struct value *arg2)
{
- register int len;
- register char *p1, *p2;
+ int len;
+ char *p1, *p2;
struct type *type1, *type2;
enum type_code code1;
enum type_code code2;
@@ -1275,8 +1275,8 @@ value_equal (struct value *arg1, struct value *arg2)
int
value_less (struct value *arg1, struct value *arg2)
{
- register enum type_code code1;
- register enum type_code code2;
+ enum type_code code1;
+ enum type_code code2;
struct type *type1, *type2;
COERCE_NUMBER (arg1);
@@ -1317,8 +1317,8 @@ value_less (struct value *arg1, struct value *arg2)
struct value *
value_neg (struct value *arg1)
{
- register struct type *type;
- register struct type *result_type = VALUE_TYPE (arg1);
+ struct type *type;
+ struct type *result_type = VALUE_TYPE (arg1);
COERCE_REF (arg1);
COERCE_ENUM (arg1);
@@ -1346,8 +1346,8 @@ value_neg (struct value *arg1)
struct value *
value_complement (struct value *arg1)
{
- register struct type *type;
- register struct type *result_type = VALUE_TYPE (arg1);
+ struct type *type;
+ struct type *result_type = VALUE_TYPE (arg1);
int typecode;
COERCE_REF (arg1);