Cleanup: use static declarations

This commit is contained in:
Campbell Barton 2020-12-08 20:44:45 +11:00
parent d9918e3e53
commit f43c9499bf
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ static void preview_plane_cursor_visible_set(wmGizmoGroup *gzgroup, bool do_draw
* In this case we can't usefully project the mouse cursor onto the plane,
* so use a fall-back plane instead.
*/
const float eps_view_align = 1e-2f;
static const float eps_view_align = 1e-2f;
/* -------------------------------------------------------------------- */
/** \name Local Types

View File

@ -529,7 +529,7 @@ const EnumPropertyItem rna_enum_bake_pass_filter_type_items[] = {
{0, NULL, 0, NULL, NULL},
};
const EnumPropertyItem rna_enum_view_layer_aov_type_items[] = {
static const EnumPropertyItem rna_enum_view_layer_aov_type_items[] = {
{AOV_TYPE_COLOR, "COLOR", 0, "Color", ""},
{AOV_TYPE_VALUE, "VALUE", 0, "Value", ""},
{0, NULL, 0, NULL, NULL},