fix 'function declaration isn’t a prototype'

This commit is contained in:
Recep Aslantas
2020-02-24 23:11:03 +03:00
parent ab20ebc28c
commit 638b9f6dbe
2 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@
*/ */
CGLM_INLINE CGLM_INLINE
mat2s mat2s
glms_mat2_identity() { glms_mat2_identity(void) {
mat2s r; mat2s r;
glm_mat2_identity(r.raw); glm_mat2_identity(r.raw);
return r; return r;
@@ -91,7 +91,7 @@ glms_mat2_identity_array(mat2s * __restrict mat, size_t count) {
*/ */
CGLM_INLINE CGLM_INLINE
mat2s mat2s
glms_mat2_zero() { glms_mat2_zero(void) {
mat2s r; mat2s r;
glm_mat2_zero(r.raw); glm_mat2_zero(r.raw);
return r; return r;

View File

@@ -47,7 +47,7 @@ test_rand_vec3(vec3 dest) {
} }
vec3s vec3s
test_rand_vec3s() { test_rand_vec3s(void) {
vec3s r; vec3s r;
test_rand_vec3(r.raw); test_rand_vec3(r.raw);
return r; return r;
@@ -62,7 +62,7 @@ test_rand_vec4(vec4 dest) {
} }
vec4s vec4s
test_rand_vec4s() { test_rand_vec4s(void) {
vec4s r; vec4s r;
test_rand_vec4(r.raw); test_rand_vec4(r.raw);
return r; return r;