replace inline with BLI_INLINE define.

This commit is contained in:
Campbell Barton
2013-01-12 10:39:09 +00:00
parent 03df7e9a56
commit 45c453c9b1

View File

@@ -225,7 +225,7 @@ static void knife_update_header(bContext *C, KnifeTool_OpData *kcd)
ED_area_headerprint(CTX_wm_area(C), header);
}
static inline int round_ftoi(float x)
BLI_INLINE int round_ftoi(float x)
{
return x > 0.0f ? (int)(x + 0.5f) : (int)(x - 0.5f);
}