From 7514efc2f38c9ace4557d4e69d68e7d380389030 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 26 Aug 2016 02:18:32 +0200 Subject: Imported Upstream version 1.4.0 --- src/platform/tests/test-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platform/tests/test-common.h') diff --git a/src/platform/tests/test-common.h b/src/platform/tests/test-common.h index 0e3cf10b..87fccee2 100644 --- a/src/platform/tests/test-common.h +++ b/src/platform/tests/test-common.h @@ -8,7 +8,7 @@ #include "nm-fake-platform.h" #include "nm-linux-platform.h" -#include "nm-test-utils.h" +#include "nm-test-utils-core.h" #define DEVICE_NAME "nm-test-device" @@ -84,7 +84,7 @@ void link_callback (NMPlatform *platform, NMPObjectType obj_type, int ifindex, N /*****************************************************************************/ -int nmtstp_run_command (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); +int nmtstp_run_command (const char *format, ...) _nm_printf (1, 2); #define nmtstp_run_command_check(...) do { g_assert_cmpint (nmtstp_run_command (__VA_ARGS__), ==, 0); } while (0) /*****************************************************************************/ -- cgit 1.3.0-6-gf8a5