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>2012-09-25 02:39:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-25 02:39:45 +0400
commitf2763492cf841aec915d8cd055fdb1c40a564c61 (patch)
tree1a96e6ff0607a8a8f894535bbce1018b98a8fa5c /source/blender/makesrna/intern/rna_pose_api.c
parent3d6e2c2af671520e51c75fd76f8330ff65c2085d (diff)
code cleanup: add missing includes to RNA (this one is safe!)
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_pose_api.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_pose_api.c b/source/blender/makesrna/intern/rna_pose_api.c
index ed4690ac6a7..29d7c616d25 100644
--- a/source/blender/makesrna/intern/rna_pose_api.c
+++ b/source/blender/makesrna/intern/rna_pose_api.c
@@ -34,12 +34,16 @@
#include <string.h>
#include <time.h>
+#include "BLI_utildefines.h"
+
#include "RNA_define.h"
#include "DNA_object_types.h"
/* #include "BLO_sys_types.h" */
+#include "rna_internal.h" /* own include */
+
#ifdef RNA_RUNTIME
/* #include "DNA_anim_types.h" */
@@ -57,7 +61,7 @@ static float rna_PoseBone_do_envelope(bPoseChannel *chan, float *vec)
}
#else
-void RNA_api_pose(StructRNA *srna)
+void RNA_api_pose(StructRNA *UNUSED(srna))
{
/* FunctionRNA *func; */
/* PropertyRNA *parm; */