diff --git a/t/aead-aes-crypt.c b/t/aead-aes-crypt.c index 78774f3a1..f1e1b15fd 100644 --- a/t/aead-aes-crypt.c +++ b/t/aead-aes-crypt.c @@ -217,7 +217,3 @@ int main(void) crypto_cleanup_session_key(&ctx); } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/aead-decrypt.c b/t/aead-decrypt.c index 8e5c24cb9..2efd1a2b8 100644 --- a/t/aead-decrypt.c +++ b/t/aead-decrypt.c @@ -11,9 +11,6 @@ struct rtpengine_config rtpe_config = { }; -int get_local_log_level(unsigned int u) { - return -1; -} int main(int argc, char **argv) { if (argc < 5) { diff --git a/t/aes-crypt.c b/t/aes-crypt.c index 9577b40d7..34f060f6f 100644 --- a/t/aes-crypt.c +++ b/t/aes-crypt.c @@ -294,7 +294,3 @@ int main(int argc, char** argv) { crypto_cleanup_session_key(&ctx); } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/log.c b/t/log.c index 7f87e0cc1..5204c898d 100644 --- a/t/log.c +++ b/t/log.c @@ -49,3 +49,7 @@ void log_info_str(const str *s) { } void log_info_c_string(const char *s) { } void log_info_ice_agent(struct ice_agent *ag) { } void log_info_media(struct call_media *m) { } + +int get_local_log_level(unsigned int u) { + return 7; +} diff --git a/t/test-amr-decode.c b/t/test-amr-decode.c index fe1605b6b..94a71594e 100644 --- a/t/test-amr-decode.c +++ b/t/test-amr-decode.c @@ -134,7 +134,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/test-amr-encode.c b/t/test-amr-encode.c index cea698aa4..32db9b9b1 100644 --- a/t/test-amr-encode.c +++ b/t/test-amr-encode.c @@ -148,7 +148,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/test-const_str_hash.c b/t/test-const_str_hash.c index ddacc5e47..1ecfa5a58 100644 --- a/t/test-const_str_hash.c +++ b/t/test-const_str_hash.c @@ -33,7 +33,3 @@ int main(void) { test("doesn't exist", 0); return 0; } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/test-kernel-module.c b/t/test-kernel-module.c index 20266b13f..29ffee086 100644 --- a/t/test-kernel-module.c +++ b/t/test-kernel-module.c @@ -125,7 +125,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/test-mix-buffer.c b/t/test-mix-buffer.c index 873a1f227..23fbe95e6 100644 --- a/t/test-mix-buffer.c +++ b/t/test-mix-buffer.c @@ -21,10 +21,6 @@ struct bufferpool *shm_bufferpool; struct bufferpool *static_bufferpool; void kernel_thread_init(void) {} -int get_local_log_level(unsigned int u) { - return -1; -} - int main(void) { struct mix_buffer mb; diff --git a/t/test-payload-tracker.c b/t/test-payload-tracker.c index 81721e1f2..2b0e42bbb 100644 --- a/t/test-payload-tracker.c +++ b/t/test-payload-tracker.c @@ -156,7 +156,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return -1; -} diff --git a/t/test-resample.c b/t/test-resample.c index 890cdb0f4..ddc9a55cc 100644 --- a/t/test-resample.c +++ b/t/test-resample.c @@ -58,7 +58,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return 7; -} diff --git a/t/test-stats.c b/t/test-stats.c index 0931dde51..ae99d878a 100644 --- a/t/test-stats.c +++ b/t/test-stats.c @@ -9141,7 +9141,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return 7; -} diff --git a/t/test-transcode.c b/t/test-transcode.c index d0611d9be..df0f4824c 100644 --- a/t/test-transcode.c +++ b/t/test-transcode.c @@ -1837,7 +1837,3 @@ int main(void) { return 0; } - -int get_local_log_level(unsigned int u) { - return 7; -}