From 1d9e5a577fb4a97f24966f783b11bfbc86a92d99 Mon Sep 17 00:00:00 2001 From: Marek Schimara Date: Thu, 1 Sep 2016 16:48:16 +0200 Subject: [PATCH] src/rrd_graph.c: fix icc warning "external declaration in primary source file" --- src/rrd_graph.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; -- 2.47.2