From 7b16c59e87b1d2952bd2e566b3f47b1161f62805 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 26 Mar 2013 08:05:56 +0000 Subject: Freestyle: fix compilation with strict flags used --- source/blender/blenkernel/intern/freestyle.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/blender/blenkernel/intern/freestyle.c b/source/blender/blenkernel/intern/freestyle.c index bcbc3dd99c6..56236e3effd 100644 --- a/source/blender/blenkernel/intern/freestyle.c +++ b/source/blender/blenkernel/intern/freestyle.c @@ -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 @@ static void copy_lineset(FreestyleLineSet *new_lineset, FreestyleLineSet *linese 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 @@ void BKE_freestyle_lineset_unique_name(FreestyleConfig *config, FreestyleLineSet sizeof(lineset->name)); } -static FreestyleLineSet *alloc_lineset() +static FreestyleLineSet *alloc_lineset(void) { return (FreestyleLineSet *)MEM_callocN(sizeof(FreestyleLineSet), "Freestyle line set"); } -- cgit v1.2.3