diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 18:02:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-13 18:02:21 +0300 |
commit | 59f1640ae5f53e2360fec2634fdc7d2ec85e2989 (patch) | |
tree | f2f36528a67424b74f3cf305643d04cd64782284 /source/blender/makesrna | |
parent | 0852278ce76fe7412344eeb7e577d0dbdab0ff75 (diff) |
warning cleanup.
- fix mistake with grease pencil UI (&& was intended but & used).
- use (void) rather then () across _all_ blenders code.
- a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_define.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_render.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 4588d0c36c5..227b6327d64 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -1679,7 +1679,7 @@ static void rna_def_function_funcs(FILE *f, StructDefRNA *dsrna, FunctionDefRNA dfunc->gencall= funcname; } -static void rna_auto_types() +static void rna_auto_types(void) { StructDefRNA *ds; PropertyDefRNA *dp; diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 2a3fb11acc5..8e24f9724d6 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -61,7 +61,7 @@ const PointerRNA PointerRNA_NULL= {{0}}; /* Init/Exit */ -void RNA_init() +void RNA_init(void) { StructRNA *srna; PropertyRNA *prop; @@ -77,7 +77,7 @@ void RNA_init() } } -void RNA_exit() +void RNA_exit(void) { StructRNA *srna; diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c index 454ed7cee71..975858099c5 100644 --- a/source/blender/makesrna/intern/rna_define.c +++ b/source/blender/makesrna/intern/rna_define.c @@ -412,7 +412,7 @@ static int rna_validate_identifier(const char *identifier, char *error, int prop /* Blender Data Definition */ -BlenderRNA *RNA_create() +BlenderRNA *RNA_create(void) { BlenderRNA *brna; diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index 3d97e38e3a4..b889d0082f8 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -54,7 +54,7 @@ static RenderEngineType internal_game_type = { ListBase R_engines = {NULL, NULL}; -void RE_engines_init() +void RE_engines_init(void) { BLI_addtail(&R_engines, &internal_render_type); #ifdef WITH_GAMEENGINE @@ -62,7 +62,7 @@ void RE_engines_init() #endif } -void RE_engines_exit() +void RE_engines_exit(void) { RenderEngineType *type, *next; |