src/rrd_{client,tool}.h: Move `rrdc_flush_if_daemon' to the `client' header.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 14 Sep 2008 08:13:57 +0000 (10:13 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 14 Sep 2008 08:13:57 +0000 (10:13 +0200)
It's defined in `rrd_client.c', so it should be declared in `rrd_client.h'.

src/rrd_client.h
src/rrd_tool.h

index c646cb8..1776c2b 100644 (file)
@@ -39,6 +39,8 @@ int rrdc_update (const char *filename, int values_num,
         const char * const *values);
 
 int rrdc_flush (const char *filename);
         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
 {
 
 struct rrdc_stats_s
 {
index 985f817..43781da 100644 (file)
@@ -109,9 +109,7 @@ extern    "C" {
     char *a,
     char *b);
 
     char *a,
     char *b);
 
-int rrdc_flush_if_daemon (const char *opt_daemon, const char *filename);
-
-#endif
+#endif /* _RRD_TOOL_H */
 
 #ifdef  __cplusplus
 }
 
 #ifdef  __cplusplus
 }