Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 22:24:04 +0100
From:      Pawel Worach <pawel.worach@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>, Robert Watson <rwatson@freebsd.org>
Subject:   Re: PERFORCE change 90830 for review
Message-ID:  <43E27874.9060409@gmail.com>
In-Reply-To: <200602021340.03928.jhb@freebsd.org>
References:  <200601312102.k0VL24It078902@repoman.freebsd.org> <43E1C275.8070600@gmail.com> <200602021340.03928.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> 
> Actually, I think && is right.  The conditional code is meant to be exposed to 
> userland and not the kernel and _KERNEL is for FreeBSD and KERNEL for OS X.
> 

Aha, in that case the #endif comment needs updating :)

--- sys/bsm/audit.h.orig	Thu Feb  2 21:40:33 2006
+++ sys/bsm/audit.h	Thu Feb  2 21:40:44 2006
@@ -338,7 +338,7 @@
  int	setaudit(const struct auditinfo *);
  int	getaudit_addr(struct auditinfo_addr *, int);
  int	setaudit_addr(const struct auditinfo_addr *, int);
-#endif /* defined(_KERNEL) || defined(KERNEL) */
+#endif /* defined(_KERNEL) && defined(KERNEL) */

  __END_DECLS


-- 
Pawel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43E27874.9060409>