From abeae30cf49f6b52cb39843a257db654f6eadd17 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Fri, 5 Sep 2008 21:03:19 +0000 Subject: [PATCH] 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(+) diff --git a/sys/net/route.h b/sys/net/route.h index dce6c62d600f..906bfb2f1714 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); \