diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-05-15 16:02:59 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-05-15 16:02:59 +0100 |
commit | ea33cd9290063d977fb2c31ea6a8567da585ab88 (patch) | |
tree | 2a5c8d1374fcd7b614bc0cfbdbdd668a85bad5a5 /gdb/mips-tdep.c | |
parent | 0726fcc61a8b7c943de513ec598b2189c5f67715 (diff) | |
download | gdb-ea33cd9290063d977fb2c31ea6a8567da585ab88.zip gdb-ea33cd9290063d977fb2c31ea6a8567da585ab88.tar.gz gdb-ea33cd9290063d977fb2c31ea6a8567da585ab88.tar.bz2 |
MIPS: Make `mask_address_var' static
Make the `mask_address_var' variable static, it is not used outside
mips-tdep.c and having no target name embedded within it causes a risk
of a namespace clash.
gdb/
* mips-tdep.c (mask_address_var): Make variable static.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index f9f84c4..cc67cd3 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1122,7 +1122,7 @@ mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum) } /* Should the upper word of 64-bit addresses be zeroed? */ -enum auto_boolean mask_address_var = AUTO_BOOLEAN_AUTO; +static enum auto_boolean mask_address_var = AUTO_BOOLEAN_AUTO; static int mips_mask_address_p (struct gdbarch_tdep *tdep) |