From 165e7ecdd393211855ac26be5781f5ed13190d68 Mon Sep 17 00:00:00 2001 From: Guoye Zhang Date: Tue, 14 Nov 2023 18:31:27 -0800 Subject: [PATCH] Remove @_implementationOnly --- Sources/HTTPTypes/HTTPFields.swift | 4 ++-- Sources/HTTPTypesFoundation/HTTPRequest+URL.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/HTTPTypes/HTTPFields.swift b/Sources/HTTPTypes/HTTPFields.swift index a714d22..4a6515b 100644 --- a/Sources/HTTPTypes/HTTPFields.swift +++ b/Sources/HTTPTypes/HTTPFields.swift @@ -13,9 +13,9 @@ //===----------------------------------------------------------------------===// #if canImport(os.lock) -@_implementationOnly import os.lock +import os.lock #else -@_implementationOnly import Glibc +import Glibc #endif /// A collection of HTTP fields. It is used in `HTTPRequest` and `HTTPResponse`, and can also be diff --git a/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift b/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift index 1cdf3fd..e8f3b88 100644 --- a/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift +++ b/Sources/HTTPTypesFoundation/HTTPRequest+URL.swift @@ -12,7 +12,7 @@ // //===----------------------------------------------------------------------===// -@_implementationOnly import CoreFoundation +import CoreFoundation import Foundation import HTTPTypes