Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2012 14:01:27 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 214759 for review
Message-ID:  <201207221401.q6ME1RfZ063906@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@214759?ac=10

Change 214759 by rwatson@rwatson_cinnamon on 2012/07/22 14:00:50

	Allow new endian tests to work when CFLAGS="-Wall -Werror" is
	used with configure.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/configure#63 edit
.. //depot/projects/trustedbsd/openbsm/configure.ac#61 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/configure#63 (xtext) ====

@@ -13059,7 +13059,7 @@
 main ()
 {
 
-	be32toh(0);
+	(void)be32toh(0);
 
   ;
   return 0;

==== //depot/projects/trustedbsd/openbsm/configure.ac#61 (text+ko) ====

@@ -3,7 +3,7 @@
 
 AC_PREREQ(2.59)
 AC_INIT([OpenBSM], [1.2alpha1], [trustedbsd-audit@TrustesdBSD.org],[openbsm])
-AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#60 $])
+AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#61 $])
 AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_MACRO_DIR([m4])
@@ -182,7 +182,7 @@
 	#include <machine/endian.h>
 	#endif
 ], [
-	be32toh(0);
+	(void)be32toh(0);
 ], [], [
 	AC_DEFINE(USE_COMPAT_ENDIAN_H,, Define if compat/endian.h is required)
 	AC_MSG_RESULT([using compat/endian.h])



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