Date: Tue, 11 Nov 2008 21:01:19 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 152818 for review Message-ID: <200811112101.mABL1Jta070426@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152818 Change 152818 by rwatson@rwatson_lethe on 2008/11/11 21:00:41 In most places in OpenBSM, we rely on the audit_internal.h definition of __unused for platforms not implementing it; however, for auditfilter_noop, which is sample code to be used by third-party developers, don't rey on an OpenBSM-internal definition, and just do it here as well. Affected files ... .. //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#6 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#6 (text+ko) ==== @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#5 $ + * $P4: //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#6 $ */ /* @@ -38,6 +38,10 @@ #include <bsm/libbsm.h> #include <bsm/audit_filter.h> +#ifndef __unused +#define __unused +#endif + int AUDIT_FILTER_ATTACH(void *instance __unused, int argc __unused, char *argv[] __unused)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811112101.mABL1Jta070426>