[llvm-commits] [llvm-gcc-4.2] r46870 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Bill Wendling
isanbard at gmail.com
Thu Feb 7 17:07:37 PST 2008
Author: void
Date: Thu Feb 7 19:07:37 2008
New Revision: 46870
URL: http://llvm.org/viewvc/llvm-project?rev=46870&view=rev
Log:
No need to conditionalize the ATTRIBUTE_UNUSED as gcc won't complain about it if
it is used.
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=46870&r1=46869&r2=46870&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Thu Feb 7 19:07:37 2008
@@ -1988,15 +1988,9 @@
extern". There is no MACH-O equivalent of ELF's
VISIBILITY_INTERNAL or VISIBILITY_PROTECTED. */
-/* LLVM LOCAL begin */
-#ifdef ENABLE_LLVM
void
+/* LLVM LOCAL begin */
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