From d2026aacb4552cb2d6d5333b759fe8377c061fdc Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Fri, 10 Apr 2015 10:11:21 +0200 Subject: [PATCH] gmio_core: fix linking error when fast_atof.h get included more than once --- src/gmio_core/internal/fast_atof.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmio_core/internal/fast_atof.h b/src/gmio_core/internal/fast_atof.h index f56930f..707d997 100644 --- a/src/gmio_core/internal/fast_atof.h +++ b/src/gmio_core/internal/fast_atof.h @@ -29,7 +29,7 @@ GMIO_INLINE gmio_bool_t is_local_decimal_point(char in) } /* we write [17] here instead of [] to work around a swig bug */ -const float fast_atof_table[17] = { +static const float fast_atof_table[17] = { 0.f, 0.1f, 0.01f,