]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Use of keyword "template" prevents including header file in C++ 584/head
authorSimon Boulet <simon@nostalgeek.com>
Sun, 1 Feb 2015 02:03:53 +0000 (21:03 -0500)
committerSimon Boulet <simon@nostalgeek.com>
Sun, 1 Feb 2015 02:10:29 +0000 (21:10 -0500)
src/rrd.h
src/rrd_client.h

index 475720a4de1625adca6f0464e0c1b307e6b2a3db..84ff3e56637be5b10a2e443398c35f9473a5f632 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -242,7 +242,7 @@ struct rrd_t;
     time_t last_up,
     int no_overwrite,
     const char **sources,
-    const char *template,
+    const char *_template,
     int argc,
     const char **argv);
     rrd_info_t *rrd_info_r(
index 18b36e726e6554c0ad82ad11b45838feef624f03..28ab584174a49ecbfdff3edb71ac4a88fab87f04 100644 (file)
@@ -65,7 +65,7 @@ int rrdc_create_r2 (const char *filename,
     time_t last_up,
     int no_overwrite,
     const char **sources,
-    const char *template,
+    const char *_template,
     int argc,
     const char **argv);