aboutsummaryrefslogtreecommitdiff
path: root/gdb/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/registry.h')
-rw-r--r--gdb/registry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/registry.h b/gdb/registry.h
index 972ebf3..7b0b284 100644
--- a/gdb/registry.h
+++ b/gdb/registry.h
@@ -154,7 +154,7 @@ void *registry_data (struct registry_fields *fields,
/* Define a new registry implementation. */
#define DEFINE_REGISTRY(TAG, ACCESS) \
-struct registry_data_registry TAG ## _data_registry = { NULL, 0 }; \
+static struct registry_data_registry TAG ## _data_registry = { NULL, 0 }; \
\
const struct TAG ## _data * \
register_ ## TAG ## _data_with_cleanup (void (*save) (struct TAG *, void *), \