summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2008-09-05 21:03:19 +0000
committerjulian <julian@FreeBSD.org>2008-09-05 21:03:19 +0000
commite9e8fc3c49ef4e55086bd348d5c3388f98a20702 (patch)
tree6ffc2e9bc7fad3ea9c81dae309b00e16c69ffb38 /sys/net
parente4872726d92d1195a80cddb76ae6b056b38b1cc6 (diff)
downloadFreeBSD-src-e9e8fc3c49ef4e55086bd348d5c3388f98a20702.zip
FreeBSD-src-e9e8fc3c49ef4e55086bd348d5c3388f98a20702.tar.gz
Be consistent about whether these multi-lined macros are separated by
a blank line. Some were, some weren't. Decide in favour of the line as it matches what an inline would do, and it's easier to read.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index dce6c62..906bfb2 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -307,6 +307,7 @@ struct rt_addrinfo {
("negative refcnt %ld", (_rt)->rt_refcnt)); \
(_rt)->rt_refcnt++; \
} while (0)
+
#define RT_REMREF(_rt) do { \
RT_LOCK_ASSERT(_rt); \
KASSERT((_rt)->rt_refcnt > 0, \
@@ -324,6 +325,7 @@ struct rt_addrinfo {
/* guard against invalid refs */ \
_rt = 0; \
} while (0)
+
#define RTFREE(_rt) do { \
RT_LOCK(_rt); \
RTFREE_LOCKED(_rt); \
OpenPOWER on IntegriCloud