jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5c0c76d9eedabf6357d41fd7fbe1260e21b8d749

commit 5c0c76d9eedabf6357d41fd7fbe1260e21b8d749
Author: Daniel Zaoui <daniel.za...@samsung.com>
Date:   Thu Jun 18 05:32:39 2015 +0300

    Examples: fix compilation due to inline
    
    Undefined references were occurring on inline (not static) functions.
    Adding static to these functions solves the issue.
---
 src/examples/evas/evas-vg-simple.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/evas/evas-vg-simple.c 
b/src/examples/evas/evas-vg-simple.c
index 61fc704..854bde8 100644
--- a/src/examples/evas/evas-vg-simple.c
+++ b/src/examples/evas/evas-vg-simple.c
@@ -66,7 +66,7 @@ Bezier bezierFromPoints(Point p1, Point p2,
     return b;
 }
 
-inline void
+static inline void
 parameterSplitLeft(Bezier *b, float t, Bezier *left)
 {
     left->x1 = b->x1;
@@ -104,7 +104,7 @@ Bezier bezierOnInterval(Bezier *b, float t0, float t1)
     return result;
 }
 
-inline void
+static inline void
 _bezier_coefficients(float t, float *ap, float *bp, float *cp, float *dp)
 {
     float a,b,c,d;

-- 


Reply via email to