[llvm-commits] [llvm-gcc-4.2] r46862 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Bill Wendling
isanbard at gmail.com
Thu Feb 7 14:31:11 PST 2008
Author: void
Date: Thu Feb 7 16:30:56 2008
New Revision: 46862
URL: http://llvm.org/viewvc/llvm-project?rev=46862&view=rev
Log:
Mark variable as "unused" if enable_llvm is defined.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.c
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.c?rev=46862&r1=46861&r2=46862&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Thu Feb 7 16:30:56 2008
@@ -1988,8 +1988,15 @@
extern". There is no MACH-O equivalent of ELF's
VISIBILITY_INTERNAL or VISIBILITY_PROTECTED. */
+/* LLVM LOCAL begin */
+#ifdef ENABLE_LLVM
+void
+darwin_assemble_visibility (tree decl ATTRIBUTE_UNUSED, int vis)
+#else
void
darwin_assemble_visibility (tree decl, int vis)
+#endif
+/* LLVM LOCAL end */
{
if (vis == VISIBILITY_DEFAULT)
;
More information about the llvm-commits
mailing list