diff options
Diffstat (limited to 'src/platform/tests/test-common.h')
| -rw-r--r-- | src/platform/tests/test-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) /*****************************************************************************/ |