[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33445] trunk/blender: Fix for compilation error caused by strict prototype checking
Sergey Sharybin
g.ulairi at gmail.com
Fri Dec 3 15:35:11 CET 2010
Revision: 33445
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33445
Author: nazgul
Date: 2010-12-03 15:35:10 +0100 (Fri, 03 Dec 2010)
Log Message:
-----------
Fix for compilation error caused by strict prototype checking
Modified Paths:
--------------
trunk/blender/extern/bullet2/src/Bullet-C-Api.h
trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c
trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.h
Modified: trunk/blender/extern/bullet2/src/Bullet-C-Api.h
===================================================================
--- trunk/blender/extern/bullet2/src/Bullet-C-Api.h 2010-12-03 14:35:03 UTC (rev 33444)
+++ trunk/blender/extern/bullet2/src/Bullet-C-Api.h 2010-12-03 14:35:10 UTC (rev 33445)
@@ -65,7 +65,7 @@
Create and Delete a Physics SDK
*/
- extern plPhysicsSdkHandle plNewBulletSdk(); //this could be also another sdk, like ODE, PhysX etc.
+ extern plPhysicsSdkHandle plNewBulletSdk(void); //this could be also another sdk, like ODE, PhysX etc.
extern void plDeletePhysicsSdk(plPhysicsSdkHandle physicsSdk);
/** Collision World, not strictly necessary, you can also just create a Dynamics World with Rigid Bodies which internally manages the Collision World with Collision Objects */
@@ -116,16 +116,16 @@
extern plCollisionShapeHandle plNewCapsuleShape(plReal radius, plReal height);
extern plCollisionShapeHandle plNewConeShape(plReal radius, plReal height);
extern plCollisionShapeHandle plNewCylinderShape(plReal radius, plReal height);
- extern plCollisionShapeHandle plNewCompoundShape();
+ extern plCollisionShapeHandle plNewCompoundShape(void);
extern void plAddChildShape(plCollisionShapeHandle compoundShape,plCollisionShapeHandle childShape, plVector3 childPos,plQuaternion childOrn);
extern void plDeleteShape(plCollisionShapeHandle shape);
/* Convex Meshes */
- extern plCollisionShapeHandle plNewConvexHullShape();
+ extern plCollisionShapeHandle plNewConvexHullShape(void);
extern void plAddVertex(plCollisionShapeHandle convexHull, plReal x,plReal y,plReal z);
/* Concave static triangle meshes */
- extern plMeshInterfaceHandle plNewMeshInterface();
+ extern plMeshInterfaceHandle plNewMeshInterface(void);
extern void plAddTriangle(plMeshInterfaceHandle meshHandle, plVector3 v0,plVector3 v1,plVector3 v2);
extern plCollisionShapeHandle plNewStaticTriangleMeshShape(plMeshInterfaceHandle);
Modified: trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c 2010-12-03 14:35:03 UTC (rev 33444)
+++ trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c 2010-12-03 14:35:10 UTC (rev 33445)
@@ -154,7 +154,7 @@
#define UNDEF_FLOAT 0x7F800000
R32
-undefined() {
+undefined(void) {
Hack hack;
hack.i = UNDEF_FLOAT;
return hack.f;
Modified: trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.h
===================================================================
--- trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.h 2010-12-03 14:35:03 UTC (rev 33444)
+++ trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.h 2010-12-03 14:35:10 UTC (rev 33445)
@@ -103,7 +103,7 @@
R32 htonf(R32 f);
R32 ntohf(R32 f);
-R32 undefined();
+R32 undefined(void);
U16 reverseU16(U16 value);
U32 reverseU32(U32 value);
R32 reverseR32(R32 value);
More information about the Bf-blender-cvs
mailing list