diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-22 03:51:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-22 03:51:15 +0300 |
commit | 1e4f6b231ce54e894b308c00e56525c085db8781 (patch) | |
tree | aeef12e61c9ba2d46048ff73f0828a199f0c5c59 /source/blender/makesrna/intern | |
parent | 9e8afa8817ed8281cefd6e21720943575a2f3284 (diff) |
Cleanup: use static declaration
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 5f6fcc71706..29c36b21b7f 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -122,7 +122,7 @@ const EnumPropertyItem rna_enum_mapping_type_items[] = { {0, NULL, 0, NULL, NULL}, }; -const EnumPropertyItem rna_enum_vector_rotate_type_items[] = { +static const EnumPropertyItem rna_enum_vector_rotate_type_items[] = { {NODE_VECTOR_ROTATE_TYPE_AXIS, "AXIS_ANGLE", 0, diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index acc4f16c45c..34cc75396de 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -1321,7 +1321,7 @@ static void rna_def_userdef_theme_ui_panel(BlenderRNA *brna) RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); } -const EnumPropertyItem rna_enum_userdef_theme_background_types_items[] = { +static const EnumPropertyItem rna_enum_userdef_theme_background_types_items[] = { {TH_BACKGROUND_SINGLE_COLOR, "SINGLE_COLOR", 0, |