]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
src/rrd_create.c: fix icc warnings "external declaration in primary source file"
authorMarek Schimara <Marek.Schimara@bull.net>
Fri, 2 Sep 2016 12:03:27 +0000 (14:03 +0200)
committerMarek Schimara <Marek.Schimara@bull.net>
Fri, 2 Sep 2016 13:31:38 +0000 (15:31 +0200)
        FnvHash() is declared in fnv.h

src/rrd_create.c

index c189855bd568086cb5d4699fa5240fea7b227414..a2b6a617762a1838653545006e1618cac86b4056 100644 (file)
@@ -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)
 {