lib: Move compiler.h to <openvswitch/compiler.h>
[cascardo/ovs.git] / tests / test-stp.c
index 22ff484..88a138d 100644 (file)
@@ -316,9 +316,9 @@ simulate(struct test_case *tc, int granularity)
     }
 }
 
-NO_RETURN static void
+OVS_NO_RETURN static void
 err(const char *message, ...)
-    PRINTF_FORMAT(1, 2);
+    OVS_PRINTF_FORMAT(1, 2);
 
 static void
 err(const char *message, ...)
@@ -336,7 +336,7 @@ err(const char *message, ...)
 
 static void
 warn(const char *message, ...)
-    PRINTF_FORMAT(1, 2);
+    OVS_PRINTF_FORMAT(1, 2);
 
 static void
 warn(const char *message, ...)