diff --git a/stepmania/src/global.h b/stepmania/src/global.h index 70acb3bf2a..d24ba51e5b 100644 --- a/stepmania/src/global.h +++ b/stepmania/src/global.h @@ -175,11 +175,11 @@ inline float acosf(float x) CONST_FUNCTION { return float(acos(double(x))); } #endif #ifdef NEED_TRUNCF -inline float truncf( float f ) CONST_FUNCTION { return float(int(f)); }; +inline float truncf( float f ) CONST_FUNCTION { return float(int(f)); } #endif #ifdef NEED_ROUNDF -inline float roundf( float f ) CONST_FUNCTION { if(f < 0) return truncf(f-0.5f); return truncf(f+0.5f); }; +inline float roundf( float f ) CONST_FUNCTION { if(f < 0) return truncf(f-0.5f); return truncf(f+0.5f); } #endif #ifdef NEED_STRTOF