From 916b26ecfe7351393e6bdac3dd389faf6e207779 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 26 Jul 2016 12:06:57 -0400 Subject: Cleanup some checkAPI warnings that were missed in previous patches. Some search/replace of printf, g_warning and GTK APIs were changed to use a ws_ prefix Change-Id: I9beb763a975530a4006d1afbcad079a7d8d4ebf9 Reviewed-on: https://code.wireshark.org/review/16704 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- wsutil/time_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wsutil') diff --git a/wsutil/time_util.c b/wsutil/time_util.c index 5f6ac8a39f..cf209bfbb3 100644 --- a/wsutil/time_util.c +++ b/wsutil/time_util.c @@ -32,6 +32,7 @@ #else #include #endif +#include "ws_printf.h" /* ws_g_warning */ /* converts a broken down date representation, relative to UTC, * to a timestamp; it uses timegm() if it's available. @@ -114,7 +115,7 @@ void log_resource_usage(gboolean reset_delta, const char *format, ...) { g_string_append_vprintf(log_str, format, ap); va_end(ap); - g_warning("%s", log_str->str); + ws_g_warning("%s", log_str->str); g_string_free(log_str, TRUE); } -- cgit v1.2.1