I really prefer code that actually compiles...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 22 Jan 2008 18:53:10 +0000 (18:53 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 22 Jan 2008 18:53:10 +0000 (18:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7991 d7cf8633-e32d-0410-b094-e92efae38249

cl_gecko.c

index d685c22..59d63a6 100644 (file)
@@ -8,6 +8,7 @@
 #define OSGK_CLASSTYPE_REF     struct
 
 #include <assert.h>
+#include <stdlib.h>
 #define OSGK_ASSERT(x) assert(x)
 
 typedef unsigned int OSGK_GeckoResult;
@@ -299,9 +300,9 @@ static int (*osgk_variant_get_isupports) (OSGK_ScriptVariant* variant,
 /*static OSGK_ScriptVariant* (*osgk_variant_create_int) (
   OSGK_Embedding* embedding, int val);*/
 /*static OSGK_ScriptVariant* (*osgk_variant_create_uint) (
-  OSGK_Embedding* embedding, unsigned int val);
+  OSGK_Embedding* embedding, unsigned int val);*/
 /*static OSGK_ScriptVariant* (*osgk_variant_create_float) (
-  OSGK_Embedding* embedding, float val);
+  OSGK_Embedding* embedding, float val);*/
 /*static OSGK_ScriptVariant* (*osgk_variant_create_double) (
   OSGK_Embedding* embedding, double val);*/
 /*OSGK_ScriptVariant* (*osgk_variant_create_bool) (