Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-05 16:49:13 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-05 16:49:13 +0400
commit83617429cf28f2a19e991a0f71d892fc159a4419 (patch)
tree0926334def4434fa64e6151848ce6f133aa86168 /source/blender/blenlib/BLI_math_vector.h
parent28f893f23aeb18a2cfe70fe32d61d67ea74edec1 (diff)
Fix build warnings with clang and UNUSED_RESULT_ATTR (attribute declaration must precede definition).
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r--source/blender/blenlib/BLI_math_vector.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h
index e05783004c7..e163c06440c 100644
--- a/source/blender/blenlib/BLI_math_vector.h
+++ b/source/blender/blenlib/BLI_math_vector.h
@@ -36,10 +36,6 @@ extern "C" {
#include "BLI_math_inline.h"
-#if BLI_MATH_DO_INLINE
-#include "intern/math_vector_inline.c"
-#endif
-
/************************************* Init ***********************************/
#ifdef BLI_MATH_GCC_WARN_PRAGMA
@@ -286,6 +282,12 @@ void fill_vn_i(int *array_tar, const int size, const int val);
void fill_vn_ushort(unsigned short *array_tar, const int size, const unsigned short val);
void fill_vn_fl(float *array_tar, const int size, const float val);
+/**************************** Inline Definitions ******************************/
+
+#if BLI_MATH_DO_INLINE
+#include "intern/math_vector_inline.c"
+#endif
+
#ifdef BLI_MATH_GCC_WARN_PRAGMA
# pragma GCC diagnostic pop
#endif