diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
commit | c78e44cdc563853c250da78ee78ba622c39126b2 (patch) | |
tree | fb116af7e1edd94ef96ae883bea727be372e2bd2 /source/blender/python/api2_2x/Noise.c | |
parent | 77d44e88e95d86661fc8b29db923083ec747cf9d (diff) |
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-rw-r--r-- | source/blender/python/api2_2x/Noise.c | 4 |
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 = |