resolve namespace clash

This commit is contained in:
Olaf Rempel 2009-05-01 23:27:15 +02:00
parent eb69980908
commit 49f3f7b571
3 changed files with 3 additions and 7 deletions

View File

@ -36,10 +36,6 @@
#define ARGCMAX 64
#define ARGVSIZE 1024
#define RRDTOOL_CREATE 1
#define RRDTOOL_UPDATE 2
#define BUFSIZE 1024
struct rra_cb_data {
@ -50,7 +46,7 @@ struct rra_cb_data {
static const char *rrd_dir;
int rrd_init(void)
int sammler_rrd_init(void)
{
rrd_dir = config_get_string("global", "rrd_dir", ".");
return 0;

View File

@ -1,7 +1,7 @@
#ifndef _RRDTOOL_H_
#define _RRDTOOL_H_
int rrd_init(void);
int sammler_rrd_init(void);
int rrd_submit(const char *hostname, const char *pluginname, const char *filename, int ds_id, const char *data);
#endif /* _RRDTOOL_H_ */

View File

@ -120,7 +120,7 @@ int main(int argc, char *argv[])
if (net_init())
exit(1);
if (rrd_init())
if (sammler_rrd_init())
exit(1);
if (plugin_init()) {