(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
This commit is contained in:
2
src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
vendored
2
src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp
vendored
@@ -21,6 +21,7 @@
|
|||||||
return 1; \
|
return 1; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EXPORT_DEFAULT_SQUIRREL_FUNCTIONS
|
||||||
static SQInteger math_srand(HSQUIRRELVM v)
|
static SQInteger math_srand(HSQUIRRELVM v)
|
||||||
{
|
{
|
||||||
SQInteger i;
|
SQInteger i;
|
||||||
@@ -35,6 +36,7 @@ static SQInteger math_rand(HSQUIRRELVM v)
|
|||||||
sq_pushinteger(v,rand());
|
sq_pushinteger(v,rand());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif /* EXPORT_DEFAULT_SQUIRREL_FUNCTIONS */
|
||||||
|
|
||||||
static SQInteger math_abs(HSQUIRRELVM v)
|
static SQInteger math_abs(HSQUIRRELVM v)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user