Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 00:13:56 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92496 for review
Message-ID:  <200602280013.k1S0DuTg063349@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92496

Change 92496 by rwatson@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



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