From 18fca1b5fe522e1360ab5dc561ef23c8c14c8f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Sat, 6 Jun 2015 22:19:48 +0300 Subject: [PATCH] Fixed|MSVC|libcommon: Build errors ("inline" keyword) --- doomsday/apps/plugins/common/src/x_hair.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doomsday/apps/plugins/common/src/x_hair.c b/doomsday/apps/plugins/common/src/x_hair.c index c881f0513a..6631110bbd 100644 --- a/doomsday/apps/plugins/common/src/x_hair.c +++ b/doomsday/apps/plugins/common/src/x_hair.c @@ -50,7 +50,7 @@ void X_Register(void) C_VAR_FLOAT("view-cross-dead-b", &cfg.common.xhairDeadBlue, 0, 0, 1); } -static inline float Max3F(float x, float y, float z) +static float Max3F(float x, float y, float z) { return (x > y) ? (x > z) @@ -61,7 +61,7 @@ static inline float Max3F(float x, float y, float z) : z; } -static inline float Min3F(float x, float y, float z) +static float Min3F(float x, float y, float z) { return (x < y) ? (x < z) @@ -72,7 +72,7 @@ static inline float Min3F(float x, float y, float z) : z; } -static inline float const RGBtoHue(float const red, float const green, float const blue) +static float const RGBtoHue(float const red, float const green, float const blue) { float const rgbMax = Max3F(red, green, blue); float const rgbMin = Min3F(red, green, blue);