From e956bac47b5a822a836381ec8dbb34041a8f41f4 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 8 Apr 2020 15:13:53 +0200 Subject: log: common logging method definition for all testers and helpers --- plugins/simtech/tests/test-modem-helpers-simtech.c | 23 +--------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'plugins/simtech/tests/test-modem-helpers-simtech.c') diff --git a/plugins/simtech/tests/test-modem-helpers-simtech.c b/plugins/simtech/tests/test-modem-helpers-simtech.c index f1109534..d5d774f2 100644 --- a/plugins/simtech/tests/test-modem-helpers-simtech.c +++ b/plugins/simtech/tests/test-modem-helpers-simtech.c @@ -21,7 +21,7 @@ #define _LIBMM_INSIDE_MM #include -#include "mm-log.h" +#include "mm-log-test.h" #include "mm-modem-helpers.h" #include "mm-modem-helpers-simtech.h" @@ -317,27 +317,6 @@ test_rxdtmf_urc_one_cr (void) /*****************************************************************************/ -void -_mm_log (gpointer obj, - const char *loc, - const char *func, - guint32 level, - const char *fmt, - ...) -{ - va_list args; - gchar *msg; - - if (!g_test_verbose ()) - return; - - va_start (args, fmt); - msg = g_strdup_vprintf (fmt, args); - va_end (args); - g_print ("%s\n", msg); - g_free (msg); -} - int main (int argc, char **argv) { setlocale (LC_ALL, ""); -- cgit v1.2.3-70-g09d2