summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2013-04-07 05:40:49 +0000
committerkientzle <kientzle@FreeBSD.org>2013-04-07 05:40:49 +0000
commit1fd889a6f3998cbaf12fdf4c18fdc323faa8c406 (patch)
tree916e6eed2c667b920f1cde83cf893311038a8ed8 /sys/boot
parenta9ceed102aaf97bb43a772120af221961e452fa0 (diff)
downloadFreeBSD-src-1fd889a6f3998cbaf12fdf4c18fdc323faa8c406.zip
FreeBSD-src-1fd889a6f3998cbaf12fdf4c18fdc323faa8c406.tar.gz
Fix two broken macros.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/ficl/arm/sysdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/ficl/arm/sysdep.h b/sys/boot/ficl/arm/sysdep.h
index 3ae748e..00718ee 100644
--- a/sys/boot/ficl/arm/sysdep.h
+++ b/sys/boot/ficl/arm/sysdep.h
@@ -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
/*
OpenPOWER on IntegriCloud