aboutsummaryrefslogtreecommitdiffstats
path: root/linmath.h
diff options
context:
space:
mode:
authorDavid M <manxi.david@gmail.com>2015-01-24 19:42:38 +0100
committerDavid M <manxi.david@gmail.com>2015-01-24 20:34:30 +0100
commit1000e36d1bc4555f5fd2f65082399b437b9cf7c3 (patch)
tree372bf08fa73227665a2dd27f28fa47af7e24d046 /linmath.h
parent9af0a9f58f42f7e129d02ef658fe6291b48fa037 (diff)
downloadlinmath-1000e36d1bc4555f5fd2f65082399b437b9cf7c3.tar.gz
linmath-1000e36d1bc4555f5fd2f65082399b437b9cf7c3.tar.xz
linmath-1000e36d1bc4555f5fd2f65082399b437b9cf7c3.zip
Removed extra ';' after macros
This removes gcc and clang warnings (src/linmath.h:44:24: warning: extra ';' outside of a function [-Wextra-semi])
Diffstat (limited to 'linmath.h')
-rw-r--r--linmath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linmath.h b/linmath.h
index a61d707..f852c00 100644
--- a/linmath.h
+++ b/linmath.h
@@ -41,9 +41,9 @@ static inline void vec##n##_norm(vec##n r, vec##n const v) \
vec##n##_scale(r, v, k); \
}
-LINMATH_H_DEFINE_VEC(2);
-LINMATH_H_DEFINE_VEC(3);
-LINMATH_H_DEFINE_VEC(4);
+LINMATH_H_DEFINE_VEC(2)
+LINMATH_H_DEFINE_VEC(3)
+LINMATH_H_DEFINE_VEC(4)
static inline void vec3_mul_cross(vec3 r, vec3 const a, vec3 const b)
{