aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2011-12-27 10:16:24 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2011-12-27 10:16:24 +0000
commit60990c0c060ca786f943cc978d4be566a1939d50 (patch)
treece50f6b6186eabeaf9efcd3c9f23634ecb1ea357 /sys/netinet/sctp_constants.h
parentd4ae5eb992f56999d5a561f423d357ae0d0d743b (diff)
downloadsrc-60990c0c060ca786f943cc978d4be566a1939d50.tar.gz
src-60990c0c060ca786f943cc978d4be566a1939d50.zip
Address issues found by clang. While there, fix also some style
issues. MFC after: 3 months.
Notes
Notes: svn path=/head/; revision=228907
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 6d475fce69ec..55e3be9010c3 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -396,7 +396,7 @@ __FBSDID("$FreeBSD$");
/* SCTP chunk types are moved sctp.h for application (NAT, FW) use */
/* align to 32-bit sizes */
-#define SCTP_SIZE32(x) ((((x)+3) >> 2) << 2)
+#define SCTP_SIZE32(x) ((((x) + 3) >> 2) << 2)
#define IS_SCTP_CONTROL(a) ((a)->chunk_type != SCTP_DATA)
#define IS_SCTP_DATA(a) ((a)->chunk_type == SCTP_DATA)
@@ -933,7 +933,7 @@ __FBSDID("$FreeBSD$");
} else { \
gap = (MAX_TSN - mapping_tsn) + tsn + 1; \
} \
- } while(0)
+ } while (0)
#define SCTP_RETRAN_DONE -1