Skip to content

Commit 943c7c2

Browse files
committed
[embedded] Drop 'public' from forward declaration of arc4random_buf
1 parent bbbff9e commit 943c7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/EmbeddedRuntime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public func swift_willThrow() throws {
276276
}
277277

278278
@_extern(c, "arc4random_buf")
279-
public func arc4random_buf(buf: UnsafeMutableRawPointer, nbytes: Int)
279+
func arc4random_buf(buf: UnsafeMutableRawPointer, nbytes: Int)
280280

281281
public func swift_stdlib_random(_ buf: UnsafeMutableRawPointer, _ nbytes: Int) {
282282
arc4random_buf(buf: buf, nbytes: nbytes)

0 commit comments

Comments
 (0)