Make the visibility of LLVMPPCCompilationCallback work with GCC.
[oota-llvm.git] / lib / Target / PowerPC / PPCJITInfo.cpp
index 79d0c1fabeede950e2bbf365964fd87d1ffaa77b..cfcd7490ed0d4be5485efbd5a7d3377166dc3a61 100644 (file)
@@ -292,7 +292,7 @@ void PPC64CompilationCallback() {
 #endif
 
 extern "C" {
-void* LLVM_LIBRARY_VISIBILITY
+LLVM_LIBRARY_VISIBILITY void *
 LLVMPPCCompilationCallback(unsigned *StubCallAddrPlus4,
                            unsigned *OrigCallAddrPlus4,
                            bool is64Bit) {