]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
src/rrd_rpncalc.c: fix icc warnings "external declaration in primary source file"
authorMarek Schimara <Marek.Schimara@bull.net>
Thu, 1 Sep 2016 14:36:34 +0000 (16:36 +0200)
committerMarek Schimara <Marek.Schimara@bull.net>
Fri, 2 Sep 2016 13:31:38 +0000 (15:31 +0200)
src/rrd_rpncalc.c

index a68cbaea3d7ff373e4f8a26155776c221836bed1..fb0ca9b77eb62201764d23c1d784e79545899f21 100644 (file)
 #include "rrd_rpncalc.h"
 // #include "rrd_graph.h"
 
-short     addop2str(
+static short addop2str(
     enum op_en op,
     enum op_en op_type,
     char *op_str,
     char **result_str,
     unsigned short *offset);
-int       tzoffset(
+static int tzoffset(
     time_t);            /* used to implement LTIME */
 
 short rpn_compact(
@@ -218,7 +218,7 @@ void rpn_compact2str(
 
 }
 
-short addop2str(
+static short addop2str(
     enum op_en op,
     enum op_en op_type,
     char *op_str,
@@ -1365,7 +1365,7 @@ short rpn_calc(
 
 /* figure out what the local timezone offset for any point in
    time was. Return it in seconds */
-int tzoffset(
+static int tzoffset(
     time_t now)
 {
     int       gm_sec, gm_min, gm_hour, gm_yday, gm_year,