From d724d0adfe10db8042f0d4d2a971e73b0bcec902 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 16 Sep 2012 00:26:36 +0000 Subject: code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarations --- intern/smoke/intern/smoke_API.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'intern/smoke') diff --git a/intern/smoke/intern/smoke_API.cpp b/intern/smoke/intern/smoke_API.cpp index b45fef26504..4bbf8e0a82b 100644 --- a/intern/smoke/intern/smoke_API.cpp +++ b/intern/smoke/intern/smoke_API.cpp @@ -28,7 +28,6 @@ * \ingroup smoke */ - #include "FLUID_3D.h" #include "WTURBULENCE.h" @@ -36,6 +35,8 @@ #include #include +#include "../extern/smoke_API.h" /* to ensure valid prototypes */ + // y in smoke is z in blender extern "C" FLUID_3D *smoke_init(int *res, float *p0, float dtdef) { @@ -283,10 +284,12 @@ extern "C" void smoke_get_ob_velocity(FLUID_3D *fluid, float **x, float **y, flo *z = fluid->_zVelocityOb; } +#if 0 extern "C" unsigned char *smoke_get_obstacle_anim(FLUID_3D *fluid) { return fluid->_obstaclesAnim; } +#endif extern "C" void smoke_turbulence_set_noise(WTURBULENCE *wt, int type) { -- cgit v1.2.3