diff options
Diffstat (limited to 'libnetdata/required_dummies.h')
-rw-r--r-- | libnetdata/required_dummies.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libnetdata/required_dummies.h b/libnetdata/required_dummies.h index 6d51bfed..ad1e8fb8 100644 --- a/libnetdata/required_dummies.h +++ b/libnetdata/required_dummies.h @@ -22,15 +22,20 @@ void signals_block(void){}; void signals_unblock(void){}; void signals_reset(void){}; +#ifndef UNIT_TESTING // callback required by eval() -int health_variable_lookup(const char *variable, uint32_t hash, struct rrdcalc *rc, NETDATA_DOUBLE *result) +int health_variable_lookup(STRING *variable, struct rrdcalc *rc, NETDATA_DOUBLE *result) { (void)variable; - (void)hash; (void)rc; (void)result; return 0; }; +#endif + +void rrdset_thread_rda_free(void){}; +void sender_thread_buffer_free(void){}; +void query_target_free(void){}; // required by get_system_cpus() char *netdata_configured_host_prefix = ""; |