mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
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>
This commit is contained in:
@@ -44,9 +44,9 @@ ofp_port_t bundle_execute(const struct ofpact_bundle *, const struct flow *,
|
||||
void *aux);
|
||||
enum ofperr bundle_check(const struct ofpact_bundle *, ofp_port_t max_ports,
|
||||
const struct flow *);
|
||||
char *bundle_parse(const char *, struct ofpbuf *ofpacts) WARN_UNUSED_RESULT;
|
||||
char *bundle_parse(const char *, struct ofpbuf *ofpacts) OVS_WARN_UNUSED_RESULT;
|
||||
char *bundle_parse_load(const char *, struct ofpbuf *ofpacts)
|
||||
WARN_UNUSED_RESULT;
|
||||
OVS_WARN_UNUSED_RESULT;
|
||||
void bundle_format(const struct ofpact_bundle *, struct ds *);
|
||||
|
||||
#endif /* bundle.h */
|
||||
|
Reference in New Issue
Block a user