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 /vswitchd/system-stats.c | |
parent | 9a8d2f8c49c28ddc77be7011748eef17d949fafe (diff) |
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 'vswitchd/system-stats.c')
-rw-r--r-- | vswitchd/system-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vswitchd/system-stats.c b/vswitchd/system-stats.c index dc0f2c5f9..42ac01a2b 100644 --- a/vswitchd/system-stats.c +++ b/vswitchd/system-stats.c @@ -531,7 +531,7 @@ static bool enabled; static bool started OVS_GUARDED_BY(mutex); static struct smap *system_stats OVS_GUARDED_BY(mutex); -NO_RETURN static void *system_stats_thread_func(void *); +OVS_NO_RETURN static void *system_stats_thread_func(void *); static void discard_stats(void); /* Enables or disables system stats collection, according to 'enable'. */ |