Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-07-21 20:40:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-21 20:40:34 +0400
commitb8c3efc8c3f473c710aa7da7602c22e096663bc9 (patch)
tree98e1c01bd5aa526cac93555e7f236745d09aa8a3
parent08ef5adb93827565894d112d4ed9ed19746013ba (diff)
code cleanup: compiler warnings
-rw-r--r--intern/cycles/app/cycles_test.cpp2
-rw-r--r--intern/cycles/util/util_view.cpp2
-rw-r--r--source/blender/python/intern/bpy_rna.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/app/cycles_test.cpp b/intern/cycles/app/cycles_test.cpp
index 625e8cc1706..6d7c5912cb5 100644
--- a/intern/cycles/app/cycles_test.cpp
+++ b/intern/cycles/app/cycles_test.cpp
@@ -181,7 +181,7 @@ static void resize(int width, int height)
options.session->reset(session_buffer_params(), options.session_params.samples);
}
-void keyboard(unsigned char key)
+static void keyboard(unsigned char key)
{
if(key == 'r')
options.session->reset(session_buffer_params(), options.session_params.samples);
diff --git a/intern/cycles/util/util_view.cpp b/intern/cycles/util/util_view.cpp
index 328c0c97391..d9934fa1356 100644
--- a/intern/cycles/util/util_view.cpp
+++ b/intern/cycles/util/util_view.cpp
@@ -136,7 +136,7 @@ static void view_keyboard(unsigned char key, int x, int y)
}
}
-void view_idle()
+static void view_idle(void)
{
if(V.redraw) {
V.redraw = false;
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 008a7e7f944..9f7c589630a 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -189,7 +189,7 @@ static GHash *id_weakref_pool_get(ID *id)
}
/* called from pyrna_struct_CreatePyObject() and pyrna_prop_CreatePyObject() */
-void id_weakref_pool_add(ID *id, BPy_DummyPointerRNA *pyrna)
+static void id_weakref_pool_add(ID *id, BPy_DummyPointerRNA *pyrna)
{
PyObject *weakref;
PyObject *weakref_capsule;