From: Ruben Kerkhof Date: Mon, 29 Feb 2016 22:20:00 +0000 (+0100) Subject: Add prototype for module_register X-Git-Tag: collectd-5.5.2~6^2~32^2~15 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=4c6ff006227683ab4aeab13e7903b1090fa89e02 Add prototype for module_register --- diff --git a/src/plugin.h b/src/plugin.h index 8f0c6d86..d54db4bb 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -399,4 +399,10 @@ cdtime_t plugin_get_interval (void); int plugin_thread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); +/* + * Plugins need to implement this + */ + +void module_register (void); + #endif /* PLUGIN_H */