summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-12-27 10:16:24 +0000
committertuexen <tuexen@FreeBSD.org>2011-12-27 10:16:24 +0000
commitb9ef107414848cd42bfb431cc80e5187bdfb53fa (patch)
treece50f6b6186eabeaf9efcd3c9f23634ecb1ea357 /sys/netinet/sctp_constants.h
parentb0b064ff30f64fde4b2fc99c2dc6c840ecb6a95c (diff)
downloadFreeBSD-src-b9ef107414848cd42bfb431cc80e5187bdfb53fa.zip
FreeBSD-src-b9ef107414848cd42bfb431cc80e5187bdfb53fa.tar.gz
Address issues found by clang. While there, fix also some style
issues. MFC after: 3 months.
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 6d475fc..55e3be9 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
OpenPOWER on IntegriCloud