From 5f4ee1fc5d00ae55c30fa2ce450c69be4c6d6e63 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 11 Mar 2009 08:08:06 +0000 Subject: Remove the one-definition-rule version of extern_weak linkage: this linkage type only applies to declarations, but ODR is only relevant to globals with definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66650 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/llvm-c') diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 5d8cff414f..34a91fa10f 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -127,9 +127,7 @@ typedef enum { LLVMPrivateLinkage, /**< Like Internal, but omit from symbol table */ LLVMDLLImportLinkage, /**< Function to be imported from DLL */ LLVMDLLExportLinkage, /**< Function to be accessible from DLL */ - LLVMExternalWeakAnyLinkage,/**< ExternalWeak linkage description */ - LLVMExternalWeakODRLinkage,/**< Same, but only replaced by something - equivalent. */ + LLVMExternalWeakLinkage,/**< ExternalWeak linkage description */ LLVMGhostLinkage, /**< Stand-in functions for streaming fns from bitcode */ LLVMCommonAnyLinkage, /**< Tentative definitions */ -- cgit v1.2.3