From 9977901b70ba990cb1965cc14b3df28380bbeb27 Mon Sep 17 00:00:00 2001 From: Marek Schimara Date: Fri, 2 Sep 2016 14:03:27 +0200 Subject: [PATCH] src/rrd_create.c: fix icc warnings "external declaration in primary source file" FnvHash() is declared in fnv.h --- src/rrd_create.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/rrd_create.c b/src/rrd_create.c index c189855b..a2b6a617 100644 --- a/src/rrd_create.c +++ b/src/rrd_create.c @@ -18,6 +18,7 @@ #include "rrd_strtod.h" #include "rrd_tool.h" +#include "fnv.h" #ifndef HAVE_G_REGEX_NEW #ifdef HAVE_PCRE_COMPILE @@ -57,9 +58,7 @@ static int positive_mod(int a, int b); static void init_mapping(mapping_t *mapping); static void free_mapping(mapping_t *mapping); -unsigned long FnvHash( - const char *str); -void parseGENERIC_DS( +static void parseGENERIC_DS( const char *def, ds_def_t *ds_def); @@ -1027,7 +1026,7 @@ done: return rc; } -void parseGENERIC_DS( +static void parseGENERIC_DS( const char *def, ds_def_t *ds_def) { -- 2.47.2