mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
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.
This commit is contained in:
parent
39f3ec0342
commit
abeae30cf4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182801
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user