From e9e8fc3c49ef4e55086bd348d5c3388f98a20702 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 5 Sep 2008 21:03:19 +0000 Subject: 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. --- sys/net/route.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net') 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); \ -- cgit v1.1