[collectd] [PATCH] src/plugin.[ch]: Removed legacy function plugin_flush_one().

Sebastian Harl sh at tokkee.org
Thu Aug 21 10:54:43 CEST 2008


Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
 src/plugin.c |    6 ------
 src/plugin.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/plugin.c b/src/plugin.c
index 83ee8e6..c47e867 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -709,12 +709,6 @@ int plugin_flush (const char *plugin, int timeout, const char *identifier)
   return (0);
 } /* int plugin_flush */
 
-/* FIXME: Remove this function once the perl plugin has been updated. */
-int plugin_flush_one (int timeout, const char *name)
-{
-  return (plugin_flush (name, timeout, NULL));
-} /* int plugin_flush_one */
-
 void plugin_shutdown_all (void)
 {
 	int (*callback) (void);
diff --git a/src/plugin.h b/src/plugin.h
index 3bf7e4c..f66ed3e 100644
--- a/src/plugin.h
+++ b/src/plugin.h
@@ -179,7 +179,6 @@ void plugin_read_all (void);
 void plugin_shutdown_all (void);
 
 void plugin_flush_all (int timeout);
-int plugin_flush_one (int timeout, const char *name);
 int plugin_flush (const char *plugin, int timeout, const char *identifier);
 
 /*
-- 
1.6.0.rc2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080821/7fa1cdad/attachment.pgp 


More information about the collectd mailing list