diff --git a/program/src/rrd_tool.h b/program/src/rrd_tool.h
index 92c99aee53039611dff999f114d38bb4ffbcec36..dbfb26b06add6c1044baaf2df3a610450dc98516 100644 (file)
--- a/program/src/rrd_tool.h
+++ b/program/src/rrd_tool.h
void rrd_freemem(void *mem);
void rrd_init(rrd_t *rrd);
-int rrd_open(char *file_name, FILE **in_file, rrd_t *rrd, int rdwr);
-int rrd_open_r(char *file_name, FILE **in_file, rrd_t *rrd, int rdwr);
-int readfile(char *file, char **buffer, int skipfirst);
-int readfile_r(char *file, char **buffer, int skipfirst);
+int rrd_open(const char *file_name, FILE **in_file, rrd_t *rrd, int rdwr);
+int readfile(const char *file, char **buffer, int skipfirst);
#define RRD_READONLY 0
#define RRD_READWRITE 1
thread overwrite the same buffer */
const char *rrd_strerror(int err);
-/* just a defensive work-around... */
-#define strerror(x) rrd_strerror(x)
-
#endif
#ifdef __cplusplus