routing: fix debug headers added in 6fa8ed43ee
.
- move debug headers out of COMPAT_FREEBSD32 in rtsock.c - remove accidentally-added LOG_ defines from syslog.h MFC after: 2 weeks
This commit is contained in:
parent
76179e400a
commit
0e87bab6b4
@ -80,13 +80,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define LOG_WARNING 4 /* warning conditions */
|
||||
#define LOG_NOTICE 5 /* normal but significant condition */
|
||||
#define LOG_INFO 6 /* informational */
|
||||
#define LOG_DEBUG 7 /* debug-level messages */
|
||||
|
||||
|
||||
#define _output printf
|
||||
#define _DEBUG_PASS_MSG(_l) (DEBUG_VAR_NAME >= (_l))
|
||||
|
||||
|
@ -52,7 +52,6 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/socketvar.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/systm.h>
|
||||
|
||||
#include <net/if.h>
|
||||
@ -77,13 +76,14 @@
|
||||
#endif
|
||||
#include <net/route/nhop.h>
|
||||
|
||||
#define DEBUG_MOD_NAME rtsock
|
||||
#define DEBUG_MAX_LEVEL LOG_DEBUG
|
||||
#include <net/route/route_debug.h>
|
||||
|
||||
#ifdef COMPAT_FREEBSD32
|
||||
#include <sys/mount.h>
|
||||
#include <compat/freebsd32/freebsd32.h>
|
||||
|
||||
#define DEBUG_MOD_NAME rtsock
|
||||
#define DEBUG_MAX_LEVEL LOG_DEBUG
|
||||
#include <net/route/route_debug.h>
|
||||
_DECLARE_DEBUG(LOG_INFO);
|
||||
|
||||
struct if_msghdr32 {
|
||||
|
Loading…
Reference in New Issue
Block a user