diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-03-24 15:39:11 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-03-24 15:39:11 -0400 |
commit | 41c0087ba5f1e88395be42ae33c3f7b9b2dd6745 (patch) | |
tree | 85ddd9df7797a779350d4852daf9db78ff6107a5 /gdb/gdbarch.c | |
parent | bf0aecce6ebc7182b0cfd36773bca622e2a19c3e (diff) | |
download | gdb-41c0087ba5f1e88395be42ae33c3f7b9b2dd6745.zip gdb-41c0087ba5f1e88395be42ae33c3f7b9b2dd6745.tar.gz gdb-41c0087ba5f1e88395be42ae33c3f7b9b2dd6745.tar.bz2 |
gdb: make gdbarch_data_registry static
This variable was made static in:
6bd434d6caa4 ("gdb: make some variables static")
But I modified gdbarch.c instead of gdbarch.sh, so the change was
later reverted when gdbarch.c was re-generated.
Do it right this time.
gdb/ChangeLog:
* gdbarch.sh (gdbarch_data_registry): Make static.
* gdbarch.c: Re-generate.
Change-Id: I4048ba99a0cf47acd9da050934965db222fbd159
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 23509ba..208cf4b 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -5451,7 +5451,7 @@ struct gdbarch_data_registry struct gdbarch_data_registration *registrations; }; -struct gdbarch_data_registry gdbarch_data_registry = +static struct gdbarch_data_registry gdbarch_data_registry = { 0, NULL, }; |