summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2022-01-18 10:29:59 +0200
committerGitHub <noreply@github.com>2022-01-18 10:29:59 +0200
commit63afbd76ef39ca836233354218e95a17ae67270e (patch)
tree430664bb0885e1879b400df7163a618da949786b /tests
parentd062196637207c6ae83d4f9097a28f3db36feb24 (diff)
Use libnetdata/required_dummies.h in collectors. (#11971)
Diffstat (limited to 'tests')
-rw-r--r--tests/profile/test-eval.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/profile/test-eval.c b/tests/profile/test-eval.c
index 1c23063bb8..b0c3b1af0d 100644
--- a/tests/profile/test-eval.c
+++ b/tests/profile/test-eval.c
@@ -9,10 +9,9 @@
#include "config.h"
#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
#include "database/rrdcalc.h"
-void netdata_cleanup_and_exit(int ret) { exit(ret); }
-
/*
void indent(int level, int show) {
int i = level;
@@ -261,15 +260,6 @@ void print_expression(EVAL_NODE *op, const char *failed_at, int error) {
}
*/
-int health_variable_lookup(const char *variable, uint32_t hash, RRDCALC *rc, calculated_number *result) {
- (void)variable;
- (void)hash;
- (void)rc;
- (void)result;
-
- return 0;
-}
-
int main(int argc, char **argv) {
if(argc != 2) {
fprintf(stderr, "I need an expression (enclose it in single-quotes (') as a single parameter)\n");