From: oetiker Date: Sat, 6 May 2006 13:28:57 +0000 (+0000) Subject: Avoid gcc warning (discards qualifier) in tclrrd.c -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@820 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd.h b/program/src/rrd.h index 87724324..ab97fdd9 100644 --- a/program/src/rrd.h +++ b/program/src/rrd.h @@ -85,7 +85,7 @@ int rrd_create_r(char *filename, specifications get used!!! */ int rrd_update_r(char *filename, char *_template, int argc, char **argv); -int rrd_dump_r(char *filename, char *outname); +int rrd_dump_r(const char *filename, char *outname); time_t rrd_last_r(const char *filename); time_t rrd_first_r(const char *filename, int rraindex); diff --git a/program/src/rrd_dump.c b/program/src/rrd_dump.c index 2bac7ffb..9968f2bf 100644 --- a/program/src/rrd_dump.c +++ b/program/src/rrd_dump.c @@ -71,7 +71,7 @@ rrd_dump(int argc, char **argv) } int -rrd_dump_r(char *filename, char *outname) +rrd_dump_r(const char *filename, char *outname) { unsigned int i,ii,ix,iii=0; time_t now;