use static functions where possible for some local functions.
[blender.git] / source / blender / makesrna / intern / rna_object_api.c
index 3541bc2b1b09ea18136c5488308bd0c2b6996140..6545898c1ab818d7be85840d385d7c1879b0f991 100644 (file)
@@ -43,7 +43,7 @@
 #include "DNA_scene_types.h"
 
 /* copied from init_render_mesh (render code) */
-Mesh *rna_Object_create_render_mesh(Object *ob, Scene *scene)
+static Mesh *rna_Object_create_render_mesh(Object *ob, Scene *scene)
 {
        CustomDataMask mask = CD_MASK_BAREMESH|CD_MASK_MTFACE|CD_MASK_MCOL;
        DerivedMesh *dm;