Cleanup: undeclared warnings

This commit is contained in:
Campbell Barton
2020-08-06 22:50:26 +10:00
parent ba20da7214
commit e4f400f0d6
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"};
/* -------------------------------------------------------------------- */