Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2013 05:40:50 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249222 - head/sys/boot/ficl/arm
Message-ID:  <201304070540.r375eoQI023520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kientzle
Date: Sun Apr  7 05:40:49 2013
New Revision: 249222
URL: http://svnweb.freebsd.org/changeset/base/249222

Log:
  Fix two broken macros.

Modified:
  head/sys/boot/ficl/arm/sysdep.h

Modified: head/sys/boot/ficl/arm/sysdep.h
==============================================================================
--- head/sys/boot/ficl/arm/sysdep.h	Sun Apr  7 01:30:51 2013	(r249221)
+++ head/sys/boot/ficl/arm/sysdep.h	Sun Apr  7 05:40:49 2013	(r249222)
@@ -59,7 +59,7 @@
 #include <assert.h>
 
 #if !defined IGNORE		/* Macro to silence unused param warnings */
-#define IGNORE(x) &x
+#define IGNORE(x) (void)(x)
 #endif
 
 /*
@@ -406,7 +406,7 @@ void *ficlRealloc(void *p, size_t size);
 #if FICL_MULTITHREAD
 int ficlLockDictionary(short fLock);
 #else
-#define ficlLockDictionary(x) 0 /* ignore */
+#define ficlLockDictionary(x) /* ignore */
 #endif
 
 /*



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