summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2000-01-30 07:54:05 +0000
committerjasone <jasone@FreeBSD.org>2000-01-30 07:54:05 +0000
commitacdc4c82d5f0427f5bd57c515dd1baa6b4d2d4d8 (patch)
tree89c047c9f5d0db080071f7d647edd4259f9fb86e
parentf14425e1c77612da407063da064c55a265579958 (diff)
downloadFreeBSD-src-acdc4c82d5f0427f5bd57c515dd1baa6b4d2d4d8.zip
FreeBSD-src-acdc4c82d5f0427f5bd57c515dd1baa6b4d2d4d8.tar.gz
Do not use 'alias' as a macro parameter name for __strong_reference(),
since the word 'alias' appears in the macro body. Approved by: jkh
-rw-r--r--sys/sys/cdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 16d6021..f376812 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -153,8 +153,8 @@
#endif
#ifdef __GNUC__
-#define __strong_reference(sym,alias) \
- extern __typeof (sym) alias __attribute__ ((alias (#sym)));
+#define __strong_reference(sym,aliassym) \
+ extern __typeof (sym) aliassym __attribute__ ((alias (#sym)));
#ifdef __ELF__
#ifdef __STDC__
#define __weak_reference(sym,alias) \
OpenPOWER on IntegriCloud