Unbreak build for newer GCCs.
llvm-svn: 120205
diff --git a/llvm/lib/Object/MachOObject.cpp b/llvm/lib/Object/MachOObject.cpp
index 1e15f29..94f6d77 100644
--- a/llvm/lib/Object/MachOObject.cpp
+++ b/llvm/lib/Object/MachOObject.cpp
@@ -154,7 +154,7 @@
}
template<>
-static void SwapStruct(macho::SegmentLoadCommand &Value) {
+void SwapStruct(macho::SegmentLoadCommand &Value) {
SwapValue(Value.Type);
SwapValue(Value.Size);
SwapValue(Value.VMAddress);
@@ -172,7 +172,7 @@
}
template<>
-static void SwapStruct(macho::Segment64LoadCommand &Value) {
+void SwapStruct(macho::Segment64LoadCommand &Value) {
SwapValue(Value.Type);
SwapValue(Value.Size);
SwapValue(Value.VMAddress);
@@ -190,7 +190,7 @@
}
template<>
-static void SwapStruct(macho::SymtabLoadCommand &Value) {
+void SwapStruct(macho::SymtabLoadCommand &Value) {
SwapValue(Value.Type);
SwapValue(Value.Size);
SwapValue(Value.SymbolTableOffset);
@@ -204,7 +204,7 @@
}
template<>
-static void SwapStruct(macho::DysymtabLoadCommand &Value) {
+void SwapStruct(macho::DysymtabLoadCommand &Value) {
SwapValue(Value.Type);
SwapValue(Value.Size);
SwapValue(Value.LocalSymbolIndex);