]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Add prototype for bad_format_imginfo
authorJulien Thomas <jthomas@exosec.fr>
Tue, 25 Jun 2013 11:11:27 +0000 (13:11 +0200)
committerJulien Thomas <jthomas@exosec.fr>
Tue, 25 Jun 2013 12:54:15 +0000 (14:54 +0200)
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

index 397c5b2c7e3a908db27fbd1ef4cfbc6c0f870b14..b97a742513a37262b59a249d993c19cf7e27b362 100644 (file)
@@ -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);