diff options
author | Thomas Graf <tgraf@noironetworks.com> | 2014-12-15 14:10:38 +0100 |
---|---|---|
committer | Thomas Graf <tgraf@noironetworks.com> | 2014-12-15 14:14:47 +0100 |
commit | cab5044987845e66dbe030eb1384d58cc5a66fc9 (patch) | |
tree | e5cdae4dc1e96f8f67c258f3db5ad8cdf729f415 /tests/test-stp.c | |
parent | 9a8d2f8c49c28ddc77be7011748eef17d949fafe (diff) | |
download | openvswitch-cab5044987845e66dbe030eb1384d58cc5a66fc9.tar.gz |
lib: Move compiler.h to <openvswitch/compiler.h>
The following macros are renamed to avoid conflicts with other headers:
* WARN_UNUSED_RESULT to OVS_WARN_UNUSED_RESULT
* PRINTF_FORMAT to OVS_PRINTF_FORMAT
* NO_RETURN to OVS_NO_RETURN
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/test-stp.c')
-rw-r--r-- | tests/test-stp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-stp.c b/tests/test-stp.c index 22ff48403..88a138dc7 100644 --- a/tests/test-stp.c +++ b/tests/test-stp.c @@ -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, ...) |