aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/CMakeLists.txt3
-rw-r--r--epan/wmem/wmem_core.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/epan/wmem/CMakeLists.txt b/epan/wmem/CMakeLists.txt
index 673446ce50..346dbc801d 100644
--- a/epan/wmem/CMakeLists.txt
+++ b/epan/wmem/CMakeLists.txt
@@ -84,7 +84,8 @@ CHECKAPI(
NAME
wmem
SWITCHES
- -g termoutput -build
+ --group termoutput:1 --summary-group termoutput
+ --build
SOURCES
${WMEM_FILES}
)
diff --git a/epan/wmem/wmem_core.c b/epan/wmem/wmem_core.c
index 2b64f38459..1aa41fdfcd 100644
--- a/epan/wmem/wmem_core.c
+++ b/epan/wmem/wmem_core.c
@@ -23,8 +23,6 @@
#include "wmem_allocator_block_fast.h"
#include "wmem_allocator_strict.h"
-#include <wsutil/ws_printf.h> /* ws_g_warning */
-
/* Set according to the WIRESHARK_DEBUG_WMEM_OVERRIDE environment variable in
* wmem_init. Should not be set again. */
static gboolean do_override = FALSE;
@@ -198,7 +196,7 @@ wmem_init(void)
override_type = WMEM_ALLOCATOR_BLOCK_FAST;
}
else {
- ws_g_warning("Unrecognized wmem override");
+ g_warning("Unrecognized wmem override");
do_override = FALSE;
}
}