From: Marek Schimara Date: Thu, 1 Sep 2016 14:48:16 +0000 (+0200) Subject: src/rrd_graph.c: fix icc warning "external declaration in primary source file" X-Git-Tag: v1.7.0~35^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d9e5a577fb4a97f24966f783b11bfbc86a92d99;p=thirdparty%2Frrdtool-1.x.git src/rrd_graph.c: fix icc warning "external declaration in primary source file" --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index a912b03d..2ec9462f 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2587,10 +2587,7 @@ int draw_horizontal_grid( } /* this is frexp for base 10 */ -double frexp10( - double, - double *); -double frexp10( +static double frexp10( double x, double *e) { @@ -4914,7 +4911,7 @@ void rrd_graph_options( rrd_parsetime("end-24h", &start_tv); rrd_parsetime("now", &end_tv); - + optparse_init(poptions, argc, argv); while ((opt = optparse_long(poptions, longopts, NULL)) != -1) { int col_start, col_end;