Skip to content

Commit

Permalink
Import C module as @_implementationOnly (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jun 9, 2022
1 parent bdb13a5 commit a552fda
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/System/Internals/CInterop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public typealias CModeT = CInterop.Mode
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
import Darwin
#elseif os(Linux) || os(FreeBSD) || os(Android)
import CSystem
@_implementationOnly import CSystem
import Glibc
#elseif os(Windows)
import CSystem
Expand Down
1 change: 0 additions & 1 deletion Sources/System/Internals/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
import Darwin
#elseif os(Linux) || os(FreeBSD) || os(Android)
import CSystem
import Glibc
#elseif os(Windows)
import CSystem
Expand Down
2 changes: 1 addition & 1 deletion Sources/System/Internals/Exports.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
import Darwin
#elseif os(Linux) || os(FreeBSD) || os(Android)
import CSystem
@_implementationOnly import CSystem
import Glibc
#elseif os(Windows)
import CSystem
Expand Down

0 comments on commit a552fda

Please sign in to comment.