From 5d5616019cfc25e2ab08a14cc475628addcb5106 Mon Sep 17 00:00:00 2001 From: Julien Thomas Date: Tue, 25 Jun 2013 13:11:27 +0200 Subject: [PATCH] Add prototype for bad_format_imginfo This patch solve implicit declaration of function 'bad_format_imginfo' warning introduced by commit 37d3050 "Added imginfo format check". rrd_graph.c: In function 'rrd_graph_v': rrd_graph.c:4025: warning: implicit declaration of function 'bad_format_imginfo' rrd_graph.c:4025: warning: nested extern declaration of 'bad_format_imginfo' rrd_graph.c: At top level: rrd_graph.c:4836: warning: no previous prototype for 'bad_format_imginfo' --- src/rrd_graph.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 397c5b2c..b97a7425 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -452,6 +452,8 @@ int rrd_graph_color( int); int bad_format( char *); +int bad_format_imginfo( + char *); int vdef_parse( struct graph_desc_t *, const char *const); -- 2.47.3