mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 09:08:53 +00:00
Fixed 'missing-prototypes' warnings for some vec2 funcs.
Using gcc and missing-prototypes flag shows warnings for: glmc_vec2_fill, glmc_vec2_eq and glmc_vec2_eqv. Seems they were not added to call/vec2.h for some reason. This should fix the warnings.
This commit is contained in:
@@ -17,6 +17,18 @@ CGLM_EXPORT
|
|||||||
void
|
void
|
||||||
glmc_vec2(float * __restrict v, vec2 dest);
|
glmc_vec2(float * __restrict v, vec2 dest);
|
||||||
|
|
||||||
|
CGLM_EXPORT
|
||||||
|
void
|
||||||
|
glmc_vec2_fill(vec2 v, float val);
|
||||||
|
|
||||||
|
CGLM_EXPORT
|
||||||
|
bool
|
||||||
|
glmc_vec2_eq(vec2 v, float val);
|
||||||
|
|
||||||
|
CGLM_EXPORT
|
||||||
|
bool
|
||||||
|
glmc_vec2_eqv(vec2 a, vec2 b);
|
||||||
|
|
||||||
CGLM_EXPORT
|
CGLM_EXPORT
|
||||||
void
|
void
|
||||||
glmc_vec2_copy(vec2 a, vec2 dest);
|
glmc_vec2_copy(vec2 a, vec2 dest);
|
||||||
|
Reference in New Issue
Block a user