Cleanup: declare static variables

This commit is contained in:
Campbell Barton 2020-07-29 10:50:10 +10:00
parent 012ed9ca9f
commit ac6fbf6ba8
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ typedef enum eSculptColorFilterTypes {
COLOR_FILTER_SMOOTH,
} eSculptColorFilterTypes;
EnumPropertyItem prop_color_filter_types[] = {
static EnumPropertyItem prop_color_filter_types[] = {
{COLOR_FILTER_FILL, "FILL", 0, "Fill", "Fill with a specific color"},
{COLOR_FILTER_HUE, "HUE", 0, "Hue", "Change hue"},
{COLOR_FILTER_SATURATION, "SATURATION", 0, "Saturation", "Change saturation"},

View File

@ -41,8 +41,8 @@
#include "wm_window.h"
#include "wm_xr_intern.h"
wmSurface *g_xr_surface = NULL;
CLG_LogRef LOG = {"wm.xr"};
static wmSurface *g_xr_surface = NULL;
static CLG_LogRef LOG = {"wm.xr"};
/* -------------------------------------------------------------------- */