[embedded] Use @_extern(c) instead of @_silgen_name for putchar in tests

Using inconsistent attributes between stdlib and tests causes
compilation errors. There are still several misuses of @_silgen_name in
tests, but leaving them as is for now to incrementally fix them.
This commit is contained in:
Yuta Saito
2024-04-11 10:36:42 +00:00
parent 7a205dca32
commit 65723193a9
14 changed files with 14 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
// REQUIRES: optimized_stdlib
// REQUIRES: OS=macosx || OS=linux-gnu
@_silgen_name("putchar")
@_extern(c, "putchar")
@discardableResult
func putchar(_: CInt) -> CInt