diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:19:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:53:24 +0000 |
commit | b5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch) | |
tree | d4d31289c39fc00da064a825df13a0b98ce95b10 /libnetdata/required_dummies.h | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-upstream.tar.xz netdata-upstream.zip |
Adding upstream version 1.46.3.upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | libnetdata/required_dummies.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libnetdata/required_dummies.h b/libnetdata/required_dummies.h deleted file mode 100644 index 1ffe1e9e5..000000000 --- a/libnetdata/required_dummies.h +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: GPL-3.0-or-later - -#ifndef NETDATA_LIB_DUMMIES_H -#define NETDATA_LIB_DUMMIES_H 1 - -// 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){}; - -#ifndef UNIT_TESTING -// callback required by eval() -int health_variable_lookup(STRING *variable, struct rrdcalc *rc, NETDATA_DOUBLE *result) -{ - (void)variable; - (void)rc; - (void)result; - return 0; -}; -#endif - -void rrdset_thread_rda_free(void){}; -void sender_thread_buffer_free(void){}; -void query_target_free(void){}; -void service_exits(void){}; -void rrd_collector_finished(void){}; - -// required by get_system_cpus() -char *netdata_configured_host_prefix = ""; - -#endif // NETDATA_LIB_DUMMIES_H |