Skip to content

Commit

Permalink
lldp: Fully parenthesize some macro definitions.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pfaff <blp@nicira.com>
  • Loading branch information
blp committed Mar 4, 2015
1 parent 88f07b5 commit ac211bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lldp/lldpd.h
Expand Up @@ -38,7 +38,7 @@

#define LLDPD_TX_INTERVAL 5
#define LLDPD_TX_HOLD 4
#define LLDPD_TTL LLDPD_TX_INTERVAL * LLDPD_TX_HOLD
#define LLDPD_TTL (LLDPD_TX_INTERVAL * LLDPD_TX_HOLD)

#define PROTO_SEND_SIG struct lldpd *, struct lldpd_hardware *,struct dp_packet *
#define PROTO_DECODE_SIG struct lldpd *, char *, int, struct lldpd_hardware *,\
Expand Down
2 changes: 1 addition & 1 deletion lib/ovs-lldp.h
Expand Up @@ -28,7 +28,7 @@
#include "timer.h"

/* Transmit every LLDPD_TX_INTERVAL seconds. */
#define LLDP_DEFAULT_TRANSMIT_INTERVAL_MS LLDPD_TX_INTERVAL * 1000
#define LLDP_DEFAULT_TRANSMIT_INTERVAL_MS (LLDPD_TX_INTERVAL * 1000)

struct flow;
struct netdev;
Expand Down

0 comments on commit ac211bd

Please sign in to comment.