summaryrefslogtreecommitdiff
path: root/unsorted
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-18 05:32:39 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-06-18 05:32:39 +0300
commit8c4c825e4d1ebb657977bdd60d23ac999867e41f (patch)
tree7f9219469bb0e251dc6362b58a012c20d0c19981 /unsorted
parent87382a2dad3865fbf62b2dcc89cdc221603fb9ed (diff)
Examples: fix compilation due to inline
Undefined references were occurring on inline (not static) functions. Adding static to these functions solves the issue.
Diffstat (limited to 'unsorted')
-rw-r--r--unsorted/evas/evas-vg-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsorted/evas/evas-vg-simple.c b/unsorted/evas/evas-vg-simple.c
index 61fc7040..854bde84 100644
--- a/unsorted/evas/evas-vg-simple.c
+++ b/unsorted/evas/evas-vg-simple.c
@@ -66,7 +66,7 @@ Bezier bezierFromPoints(Point p1, Point p2,
66 return b; 66 return b;
67} 67}
68 68
69inline void 69static inline void
70parameterSplitLeft(Bezier *b, float t, Bezier *left) 70parameterSplitLeft(Bezier *b, float t, Bezier *left)
71{ 71{
72 left->x1 = b->x1; 72 left->x1 = b->x1;
@@ -104,7 +104,7 @@ Bezier bezierOnInterval(Bezier *b, float t0, float t1)
104 return result; 104 return result;
105} 105}
106 106
107inline void 107static inline void
108_bezier_coefficients(float t, float *ap, float *bp, float *cp, float *dp) 108_bezier_coefficients(float t, float *ap, float *bp, float *cp, float *dp)
109{ 109{
110 float a,b,c,d; 110 float a,b,c,d;