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 /ovsdb/ovsdb.h | |
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 'ovsdb/ovsdb.h')
-rw-r--r-- | ovsdb/ovsdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ovsdb/ovsdb.h b/ovsdb/ovsdb.h index e976d3be0..1103e6df8 100644 --- a/ovsdb/ovsdb.h +++ b/ovsdb/ovsdb.h @@ -44,10 +44,10 @@ void ovsdb_schema_destroy(struct ovsdb_schema *); struct ovsdb_error *ovsdb_schema_from_file(const char *file_name, struct ovsdb_schema **) - WARN_UNUSED_RESULT; + OVS_WARN_UNUSED_RESULT; struct ovsdb_error *ovsdb_schema_from_json(struct json *, struct ovsdb_schema **) - WARN_UNUSED_RESULT; + OVS_WARN_UNUSED_RESULT; struct json *ovsdb_schema_to_json(const struct ovsdb_schema *); bool ovsdb_schema_equal(const struct ovsdb_schema *, |