diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-19 14:07:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-19 14:07:23 +0400 |
commit | ab8c8374709808bf796530170f101f5336eb598d (patch) | |
tree | cb88380390d039e23062af1efa12c5298f475591 /source/blender/freestyle | |
parent | 0397cc0bab2687e39d1c4a2c0ef64bd483173802 (diff) |
quiet warnings by making undeclared vars static
Diffstat (limited to 'source/blender/freestyle')
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp index f6f97bda1bf..bbfcfbfa13d 100644 --- a/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp +++ b/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp @@ -93,7 +93,7 @@ int freestyle_viewport[4]; // current scene Scene *freestyle_scene; -string default_module_path; +static string default_module_path; // function declarations static void copy_lineset(FreestyleLineSet *new_lineset, FreestyleLineSet *lineset); diff --git a/source/blender/freestyle/intern/python/BPy_Nature.cpp b/source/blender/freestyle/intern/python/BPy_Nature.cpp index b654525ea16..8336206efb5 100644 --- a/source/blender/freestyle/intern/python/BPy_Nature.cpp +++ b/source/blender/freestyle/intern/python/BPy_Nature.cpp @@ -46,7 +46,7 @@ static int BPy_Nature_bool(PyObject *v); /*-----------------------BPy_Nature number method definitions --------------------*/ -PyNumberMethods nature_as_number = { +static PyNumberMethods nature_as_number = { 0, /* binaryfunc nb_add */ 0, /* binaryfunc nb_subtract */ 0, /* binaryfunc nb_multiply */ diff --git a/source/blender/freestyle/intern/view_map/ViewMapIO.cpp b/source/blender/freestyle/intern/view_map/ViewMapIO.cpp index 33daf5a7886..2e94a84861d 100644 --- a/source/blender/freestyle/intern/view_map/ViewMapIO.cpp +++ b/source/blender/freestyle/intern/view_map/ViewMapIO.cpp @@ -63,7 +63,7 @@ namespace ViewMapIO { namespace Internal { -ViewMap *g_vm; +static ViewMap *g_vm; //////////////////// 'load' Functions //////////////////// |