PERFORCE change 214759 for review
Robert Watson
rwatson at FreeBSD.org
Sun Jul 22 14:01:29 UTC 2012
http://p4web.freebsd.org/@@214759?ac=10
Change 214759 by rwatson at 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 at 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])
More information about the p4-projects
mailing list