[seed] Fixing a 'not defined inline function' error



commit 37c70b82487785bae940ea795edfe72acdf3cd89
Author: Danilo Cesar Lemes de Paula <danilo cesar collabora co uk>
Date:   Mon Jan 11 11:40:45 2016 -0200

    Fixing a 'not defined inline function' error

 modules/mpfr/seed-mpfr.c |    2 +-
 modules/mpfr/seed-mpfr.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/mpfr/seed-mpfr.c b/modules/mpfr/seed-mpfr.c
index 25cd82c..5188cb1 100644
--- a/modules/mpfr/seed-mpfr.c
+++ b/modules/mpfr/seed-mpfr.c
@@ -31,7 +31,7 @@ SeedClass mpfr_class;
 
 SeedEngine * eng;
 
-inline seed_mpfr_t
+seed_mpfr_t
 seed_mpfr_arg_type(SeedContext ctx, SeedValue arg, SeedException exept)
 {
     if ( seed_value_is_object_of_class(ctx, arg, mpfr_class) )
diff --git a/modules/mpfr/seed-mpfr.h b/modules/mpfr/seed-mpfr.h
index 35ed94c..ee3fa0b 100644
--- a/modules/mpfr/seed-mpfr.h
+++ b/modules/mpfr/seed-mpfr.h
@@ -52,7 +52,7 @@ typedef enum _seed_mpfr_t
     SEED_MPFR_STRING = 1 << 3,
 } seed_mpfr_t;
 
-inline seed_mpfr_t seed_mpfr_arg_type(SeedContext, SeedValue, SeedException);
+seed_mpfr_t seed_mpfr_arg_type(SeedContext, SeedValue, SeedException);
 
 DEF_SEED_MPFR_FUNC(seed_mpfr_neg);
 DEF_SEED_MPFR_FUNC(seed_mpfr_abs);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]