commit 82c19cc7c8b38b9fcfb99cf8a99b1e48b142bff7
parent 320dd683c584de400a5740303c6b7d2bd73e1a3c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 23 Jun 2021 13:09:10 +0200
Fix a "no previous declaration" warning (GCC 4.9.5)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stardis-parsing.c b/src/stardis-parsing.c
@@ -515,7 +515,7 @@ if(ARRAY) {\
}
/* Workaround for a gcc warning when GET_OPTIONAL_TIME_RANGE used with Rank=0 */
-FINLINE int is_less(size_t a, size_t b) { return a < b; }
+static FINLINE int is_less(size_t a, size_t b) { return a < b; }
/* Get a time range from a coma-separated list of doubles
* The first Rank values are mandatory, followed by an optional time range