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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-15 05:52:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-15 05:52:28 +0400
commite75f5c8208c94621ab769d79cdfad458706f846e (patch)
tree01ce4209eefebe73cdb31a8bc0ebd10879981a2d /source/creator
parent37748b1e083db2f9643a2c30a1b15db32278df85 (diff)
quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.
helps for finding unused functions and making functions static, also did some minor code cleanup.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index b3c11198403..ab9541cf299 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -91,7 +91,6 @@
#include "RE_engine.h"
#include "RE_pipeline.h"
-//XXX #include "playanim_ext.h"
#include "ED_datafiles.h"
#include "WM_api.h"
@@ -454,11 +453,9 @@ static int set_env(int argc, const char **argv, void *UNUSED(data))
static int playback_mode(int argc, const char **argv, void *UNUSED(data))
{
- extern void playanim(int argc, const char **argv);
-
/* not if -b was given first */
if (G.background == 0) {
- playanim(argc, argv); /* not the same argc and argv as before */
+ WM_main_playanim(argc, argv); /* not the same argc and argv as before */
exit(0); /* 2.4x didn't do this */
}