diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 13:02:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-25 13:02:05 +0400 |
commit | c955272ec52c59bf0e432609b21c40c048fd6e53 (patch) | |
tree | caf8a0cb6ff29f7b139a863802fef214cb776056 /source/blender/blenlib/intern/math_color_inline.c | |
parent | 57fd1fe00e2ec761c82cdcab9f6ce3c036bff3a0 (diff) |
code cleanup
* correct cmake/clang warning.
* use same include guard names as everywhere else for BLI math inline.
* correct define for madd_sh_shfl
Diffstat (limited to 'source/blender/blenlib/intern/math_color_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_color_inline.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/math_color_inline.c b/source/blender/blenlib/intern/math_color_inline.c index cd1c0470ae2..f497470fa4c 100644 --- a/source/blender/blenlib/intern/math_color_inline.c +++ b/source/blender/blenlib/intern/math_color_inline.c @@ -31,8 +31,8 @@ #include "BLI_math_color.h" #include "BLI_utildefines.h" -#ifndef BLI_MATH_COLOR_INLINE_H -#define BLI_MATH_COLOR_INLINE_H +#ifndef __MATH_COLOR_INLINE_C__ +#define __MATH_COLOR_INLINE_C__ /******************************** Color Space ********************************/ @@ -193,5 +193,4 @@ MINLINE void srgb_to_linearrgb_uchar4_predivide(float linear[4], const unsigned srgb_to_linearrgb_predivide_v4(linear, fsrgb); } -#endif /* BLI_MATH_COLOR_INLINE_H */ - +#endif /* __MATH_COLOR_INLINE_C__ */ |