[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55592] branches/soc-2008-mxcurioni/source /blender/blenkernel/intern/freestyle.c: Freestyle: fix compilation with strict flags used
Sergey Sharybin
sergey.vfx at gmail.com
Tue Mar 26 09:05:57 CET 2013
Revision: 55592
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55592
Author: nazgul
Date: 2013-03-26 08:05:56 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
Freestyle: fix compilation with strict flags used
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/freestyle.c
Modified: branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/freestyle.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/freestyle.c 2013-03-26 07:44:48 UTC (rev 55591)
+++ branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/freestyle.c 2013-03-26 08:05:56 UTC (rev 55592)
@@ -41,9 +41,9 @@
#include "BLI_math.h"
// function declarations
-static FreestyleLineSet *alloc_lineset();
+static FreestyleLineSet *alloc_lineset(void);
static void copy_lineset(FreestyleLineSet *new_lineset, FreestyleLineSet *lineset);
-static FreestyleModuleConfig *alloc_module();
+static FreestyleModuleConfig *alloc_module(void);
static void copy_module(FreestyleModuleConfig *new_module, FreestyleModuleConfig *module);
void BKE_freestyle_config_init(FreestyleConfig *config)
@@ -120,7 +120,7 @@
strcpy(new_lineset->name, lineset->name);
}
-static FreestyleModuleConfig *alloc_module()
+static FreestyleModuleConfig *alloc_module(void)
{
return (FreestyleModuleConfig *)MEM_callocN(sizeof(FreestyleModuleConfig), "style module configuration");
}
@@ -166,7 +166,7 @@
sizeof(lineset->name));
}
-static FreestyleLineSet *alloc_lineset()
+static FreestyleLineSet *alloc_lineset(void)
{
return (FreestyleLineSet *)MEM_callocN(sizeof(FreestyleLineSet), "Freestyle line set");
}
More information about the Bf-blender-cvs
mailing list