PERFORCE change 92496 for review
Robert Watson
rwatson at FreeBSD.org
Mon Feb 27 16:14:05 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92496
Change 92496 by rwatson at rwatson_lethe.cl.cam.ac.uk on 2006/02/28 00:13:46
On Linux, define an empty __unused as it's unclear how to get it
to work on Linux. On my local RedHat FC3 box, __attribute__used__
is sometimes defined as __attribute__((__unused__)) and other
confusing things that are best avoided.
Affected files ...
.. //depot/projects/trustedbsd/openbsm/bsm/audit_internal.h#12 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/bsm/audit_internal.h#12 (text+ko) ====
@@ -34,7 +34,7 @@
*
* @APPLE_BSD_LICENSE_HEADER_END@
*
- * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit_internal.h#11 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit_internal.h#12 $
*/
#ifndef _AUDIT_INTERNAL_H
@@ -42,6 +42,9 @@
#ifdef __linux__
#include <compat/queue.h>
+#ifndef __unused
+#define __unused
+#endif /* !__unused */
#else
#include <sys/queue.h>
#endif
More information about the trustedbsd-cvs
mailing list