diff options
author | Dave MacLachlan <dmaclach@gmail.com> | 2019-11-22 15:48:55 -0800 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2019-11-25 10:27:20 -0500 |
commit | bc614a5643a5e7e8b739ec357c03102c26380ee5 (patch) | |
tree | 6429f24a87fb71cd5c532d2994eb7676165c6f44 | |
parent | b82cfeb7b09d970d3cdc33cd0d7c87cbcbc26562 (diff) |
Remove obsoleted nonsense symbols for suppressing libtool warnings
-rw-r--r-- | Foundation/GTMNSDictionary+URLArguments.m | 4 | ||||
-rw-r--r-- | Foundation/GTMNSFileHandle+UniqueName.m | 4 | ||||
-rw-r--r-- | Foundation/GTMNSScanner+JSON.m | 5 | ||||
-rw-r--r-- | Foundation/GTMNSString+HTML.m | 5 | ||||
-rw-r--r-- | Foundation/GTMNSString+XML.m | 4 | ||||
-rw-r--r-- | iPhone/GTMUIFont+LineHeight.m | 5 |
6 files changed, 0 insertions, 27 deletions
diff --git a/Foundation/GTMNSDictionary+URLArguments.m b/Foundation/GTMNSDictionary+URLArguments.m index 612ba5b..0e80607 100644 --- a/Foundation/GTMNSDictionary+URLArguments.m +++ b/Foundation/GTMNSDictionary+URLArguments.m @@ -22,10 +22,6 @@ #import "GTMDefines.h" -// Export a nonsense symbol to suppress a libtool warning when this is linked alone in a static lib. -__attribute__((visibility("default"))) - char GTMNSDictionaryURLArgumentsExportToSuppressLibToolWarning = 0; - #pragma clang diagnostic push // Ignore all of the deprecation warnings for GTMNSString+URLArguments #pragma clang diagnostic ignored "-Wdeprecated-declarations" diff --git a/Foundation/GTMNSFileHandle+UniqueName.m b/Foundation/GTMNSFileHandle+UniqueName.m index 1424c44..5a5a142 100644 --- a/Foundation/GTMNSFileHandle+UniqueName.m +++ b/Foundation/GTMNSFileHandle+UniqueName.m @@ -20,10 +20,6 @@ #include <unistd.h> -// Export a nonsense symbol to suppress a libtool warning when this is linked alone in a static lib. -__attribute__((visibility("default"))) - char GTMFileHandleUniqueNameExportToSuppressLibToolWarning = 0; - @implementation NSFileHandle (GTMFileHandleUniqueNameAdditions) diff --git a/Foundation/GTMNSScanner+JSON.m b/Foundation/GTMNSScanner+JSON.m index 308eae2..513ce30 100644 --- a/Foundation/GTMNSScanner+JSON.m +++ b/Foundation/GTMNSScanner+JSON.m @@ -19,11 +19,6 @@ #import "GTMDefines.h" #import "GTMNSScanner+JSON.h" -// Export a nonsense symbol to suppress a libtool warning when this is linked -// alone in a static lib. -__attribute__((visibility("default"))) - char NSScanner_GTMNSScannerJSONAdditionsExportToSuppressLibToolWarning = 0; - @implementation NSScanner (GTMNSScannerJSONAdditions) - (BOOL)gtm_scanJSONString:(NSString **)jsonString diff --git a/Foundation/GTMNSString+HTML.m b/Foundation/GTMNSString+HTML.m index 168c094..d49cbca 100644 --- a/Foundation/GTMNSString+HTML.m +++ b/Foundation/GTMNSString+HTML.m @@ -20,11 +20,6 @@ #import "GTMDefines.h" #import "GTMNSString+HTML.h" -// Export a nonsense symbol to suppress a libtool warning when this is linked -// alone in a static lib. -__attribute__((visibility("default"))) - char GTMNSString_HTMLExportToSuppressLibToolWarning = 0; - typedef struct { NSString *escapeSequence; unichar uchar; diff --git a/Foundation/GTMNSString+XML.m b/Foundation/GTMNSString+XML.m index 0ef41ae..f4f8d1e 100644 --- a/Foundation/GTMNSString+XML.m +++ b/Foundation/GTMNSString+XML.m @@ -19,10 +19,6 @@ #import "GTMDefines.h" #import "GTMNSString+XML.h" -// Export a nonsense symbol to suppress a libtool warning when this is linked alone in a static lib. -__attribute__((visibility("default"))) - char NSString_GTMNSStringXMLAdditionsExportToSuppressLibToolWarning = 0; - enum { kGTMXMLCharModeEncodeQUOT = 0, kGTMXMLCharModeEncodeAMP = 1, diff --git a/iPhone/GTMUIFont+LineHeight.m b/iPhone/GTMUIFont+LineHeight.m index 21f1fda..6d5ef11 100644 --- a/iPhone/GTMUIFont+LineHeight.m +++ b/iPhone/GTMUIFont+LineHeight.m @@ -20,11 +20,6 @@ #import <Availability.h> -// Export a nonsense symbol to suppress a libtool warning when this is linked -// alone in a static lib. -__attribute__((visibility("default"))) - char GTMUIFont_LineHeightExportToSuppressLibToolWarning = 0; - @implementation UIFont (GTMLineHeight) - (CGFloat)gtm_lineHeight { #if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0 |