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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-03-26 12:05:56 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-03-26 12:05:56 +0400
commit7b16c59e87b1d2952bd2e566b3f47b1161f62805 (patch)
treee05a647ddd078a832932a8505e754abc6f2de560 /source/blender/blenkernel/intern/freestyle.c
parent7c08191d2f6c64f80e05c30b1a81c92bfafc9de4 (diff)
Freestyle: fix compilation with strict flags used
Diffstat (limited to 'source/blender/blenkernel/intern/freestyle.c')
-rw-r--r--source/blender/blenkernel/intern/freestyle.c8
1 files changed, 4 insertions, 4 deletions
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");
}