diff --git a/Sources/System/FileOperations.swift b/Sources/System/FileOperations.swift index 3412834..fc9fc93 100644 --- a/Sources/System/FileOperations.swift +++ b/Sources/System/FileOperations.swift @@ -515,7 +515,6 @@ extension FilePermissions { /// Permissions set in this mask will be cleared by functions that create /// files or directories. Note that this mask is process-wide, and that /// *getting* it is not thread safe. - @_alwaysEmitIntoClient internal static var creationMask: FilePermissions { get { let oldMask = _umask(0o22) @@ -535,7 +534,6 @@ extension FilePermissions { /// /// This is more efficient than reading `creationMask` and restoring it /// afterwards, because of the way reading the creation mask works. - @_alwaysEmitIntoClient internal static func withCreationMask( _ permissions: FilePermissions, body: () throws -> R @@ -547,7 +545,6 @@ extension FilePermissions { return try body() } - @usableFromInline internal static func _umask(_ mode: CModeT) -> CModeT { return system_umask(mode) } diff --git a/Sources/System/Internals/WindowsSyscallAdapters.swift b/Sources/System/Internals/WindowsSyscallAdapters.swift index 048377b..d470bd1 100644 --- a/Sources/System/Internals/WindowsSyscallAdapters.swift +++ b/Sources/System/Internals/WindowsSyscallAdapters.swift @@ -260,7 +260,6 @@ internal func rmdir( return 0; } -@usableFromInline internal func _mapWindowsErrorToErrno(_ errorCode: DWORD) -> CInt { switch Int32(errorCode) { case ERROR_SUCCESS: @@ -397,7 +396,6 @@ fileprivate func getTokenInformation( return nil } -@usableFromInline internal enum _FileOrDirectory { case file case directory @@ -406,7 +404,6 @@ internal enum _FileOrDirectory { /// Build a SECURITY_DESCRIPTOR from UNIX-style "mode" bits. This only /// takes account of the rwx and sticky bits; there's really nothing that /// we can do about setuid/setgid. -@usableFromInline internal func _createSecurityDescriptor(from mode: CInterop.Mode, for fileOrDirectory: _FileOrDirectory) -> PSECURITY_DESCRIPTOR? {