summaryrefslogtreecommitdiffstats
path: root/collectors/cups.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/cups.plugin')
-rw-r--r--collectors/cups.plugin/cups_plugin.c31
1 files changed, 2 insertions, 29 deletions
diff --git a/collectors/cups.plugin/cups_plugin.c b/collectors/cups.plugin/cups_plugin.c
index 1d493619..a4c94d1d 100644
--- a/collectors/cups.plugin/cups_plugin.c
+++ b/collectors/cups.plugin/cups_plugin.c
@@ -7,38 +7,11 @@
*/
#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
+
#include <cups/cups.h>
#include <limits.h>
-// callback required by fatal()
-void netdata_cleanup_and_exit(int ret) {
- exit(ret);
-}
-
-void send_statistics( const char *action, const char *action_result, const char *action_data) {
- (void) action;
- (void) action_result;
- (void) action_data;
- return;
-}
-
-// callbacks required by popen()
-void signals_block(void) {};
-void signals_unblock(void) {};
-void signals_reset(void) {};
-
-// callback required by eval()
-int health_variable_lookup(const char *variable, uint32_t hash, struct rrdcalc *rc, calculated_number *result) {
- (void)variable;
- (void)hash;
- (void)rc;
- (void)result;
- return 0;
-};
-
-// required by get_system_cpus()
-char *netdata_configured_host_prefix = "";
-
// Variables
static int debug = 0;