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:
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-rw-r--r--source/blender/python/api2_2x/Noise.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Noise.c b/source/blender/python/api2_2x/Noise.c
index 15e830ae580..8182201d076 100644
--- a/source/blender/python/api2_2x/Noise.c
+++ b/source/blender/python/api2_2x/Noise.c
@@ -59,6 +59,8 @@ static int left = 1;
static int initf = 0;
static unsigned long *next;
+PyObject *Noise_Init(void);
+
/* initializes state[N] with a seed */
static void init_genrand( unsigned long s )
{
@@ -603,7 +605,7 @@ static PyMethodDef NoiseMethods[] = {
/*----------------------------------------------------------------------*/
-PyObject *Noise_Init( )
+PyObject *Noise_Init(void)
{
PyObject *NoiseTypes, *DistanceMetrics,
*md =