From: Florian Forster Date: Sun, 14 Sep 2008 08:13:57 +0000 (+0200) Subject: src/rrd_{client,tool}.h: Move `rrdc_flush_if_daemon' to the `client' header. X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=beb8d57ef56b9bd6fb6018845e6c99d8c3dfc979 src/rrd_{client,tool}.h: Move `rrdc_flush_if_daemon' to the `client' header. It's defined in `rrd_client.c', so it should be declared in `rrd_client.h'. --- diff --git a/src/rrd_client.h b/src/rrd_client.h index c646cb8..1776c2b 100644 --- a/src/rrd_client.h +++ b/src/rrd_client.h @@ -39,6 +39,8 @@ int rrdc_update (const char *filename, int values_num, const char * const *values); int rrdc_flush (const char *filename); +int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename); + struct rrdc_stats_s { diff --git a/src/rrd_tool.h b/src/rrd_tool.h index 985f817..43781da 100644 --- a/src/rrd_tool.h +++ b/src/rrd_tool.h @@ -109,9 +109,7 @@ extern "C" { char *a, char *b); -int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename); - -#endif +#endif /* _RRD_TOOL_H */ #ifdef __cplusplus }