svn commit: r249222 - head/sys/boot/ficl/arm
Tim Kientzle
kientzle at FreeBSD.org
Sun Apr 7 05:40:50 UTC 2013
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
/*
More information about the svn-src-all
mailing list