Skip to content

Commit

Permalink
Fixed|MSVC|libcommon: Build errors ("inline" keyword)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 6, 2015
1 parent 7c24a0a commit 18fca1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/apps/plugins/common/src/x_hair.c
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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);
Expand Down

0 comments on commit 18fca1b

Please sign in to comment.