mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 00:35:33 +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:
@@ -38,7 +38,7 @@ void learn_execute(const struct ofpact_learn *, const struct flow *,
|
||||
struct ofputil_flow_mod *, struct ofpbuf *ofpacts);
|
||||
void learn_mask(const struct ofpact_learn *, struct flow_wildcards *);
|
||||
|
||||
char *learn_parse(char *, struct ofpbuf *ofpacts) WARN_UNUSED_RESULT;
|
||||
char *learn_parse(char *, struct ofpbuf *ofpacts) OVS_WARN_UNUSED_RESULT;
|
||||
void learn_format(const struct ofpact_learn *, struct ds *);
|
||||
|
||||
#endif /* learn.h */
|
||||
|
Reference in New Issue
Block a user