From: Marek Schimara Date: Fri, 2 Sep 2016 12:03:27 +0000 (+0200) Subject: src/rrd_create.c: fix icc warnings "external declaration in primary source file" X-Git-Tag: v1.7.0~35^2~4 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9977901b70ba990cb1965cc14b3df28380bbeb27;p=thirdparty%2Frrdtool-1.x.git src/rrd_create.c: fix icc warnings "external declaration in primary source file" FnvHash() is declared in fnv.h --- 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) {