PERFORCE change 90830 for review

Pawel Worach pawel.worach at gmail.com
Thu Feb 2 21:24:04 GMT 2006


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
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list