git: 33a0803f000f - main - routing: fix debug headers added in 6fa8ed43ee0c #2.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jun 2022 08:03:02 UTC
The branch main has been updated by melifaro:
URL: https://cgit.FreeBSD.org/src/commit/?id=33a0803f000fc52a50465a65d3e8b64168557ecf
commit 33a0803f000fc52a50465a65d3e8b64168557ecf
Author: Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2022-06-26 07:26:53 +0000
Commit: Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2022-06-26 07:28:15 +0000
routing: fix debug headers added in 6fa8ed43ee0c #2.
Move debug declaration out of COMPAT_FREEBSD32 in rtsock.c
MFC after: 2 weeks
---
sys/net/rtsock.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 540ee995460d..bce43397f882 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -79,13 +79,12 @@
#define DEBUG_MOD_NAME rtsock
#define DEBUG_MAX_LEVEL LOG_DEBUG
#include <net/route/route_debug.h>
+_DECLARE_DEBUG(LOG_INFO);
#ifdef COMPAT_FREEBSD32
#include <sys/mount.h>
#include <compat/freebsd32/freebsd32.h>
-_DECLARE_DEBUG(LOG_INFO);
-
struct if_msghdr32 {
uint16_t ifm_msglen;
uint8_t ifm_version;