commit 4a629bf24dda3f695b5295ceb55385180822b0fa
parent fb67f8fc12ea43f4725d4fa9306a437b3c53b6f0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 8 Oct 2018 17:34:22 +0200
Fix the definition of some helper functions
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/senc_scene_analyze_c.h b/src/senc_scene_analyze_c.h
@@ -28,7 +28,7 @@ struct trg_edge {
vrtx_id_t vrtx0, vrtx1;
};
-FINLINE int
+static FINLINE int
edge_ok(const struct trg_edge* edge) {
return(edge
&& edge->vrtx0 <= VRTX_MAX__
@@ -36,7 +36,7 @@ edge_ok(const struct trg_edge* edge) {
&& edge->vrtx0 < edge->vrtx1);
}
-FINLINE void
+static FINLINE void
set_edge
(const vrtx_id_t vrtx0,
const vrtx_id_t vrtx1,
@@ -57,7 +57,7 @@ set_edge
ASSERT(edge_ok(edge));
}
-FINLINE int
+static FINLINE int
edge_eq(const struct trg_edge* e1, const struct trg_edge* e2)
{
ASSERT(edge_ok(e1) && edge_ok(e2));