From: Sebastian Harl Date: Thu, 21 Aug 2008 08:54:43 +0000 (+0200) Subject: src/plugin.[ch]: Removed legacy function plugin_flush_one(). X-Git-Tag: collectd-4.5.0~55 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3b293a7b2974d38098bce0ce9e3281e803c16037;p=collectd.git src/plugin.[ch]: Removed legacy function plugin_flush_one(). Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/src/plugin.c b/src/plugin.c index 83ee8e6c..c47e8678 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 3bf7e4c1..f66ed3e2 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); /*