From beb8d57ef56b9bd6fb6018845e6c99d8c3dfc979 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 14 Sep 2008 10:13:57 +0200 Subject: [PATCH] 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'. --- src/rrd_client.h | 2 ++ src/rrd_tool.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) 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 } -- 2.11.0