Skip to content

Commit 40569f0

Browse files
authored
Merge pull request #11039 from compnerd/type-matching
stubs: match return type to header declaration
2 parents 296492e + 8b3bff8 commit 40569f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/public/stubs/Stubs.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ static long double swift_strtold_l(const char *nptr,
7070
#include "swift/Runtime/Debug.h"
7171
#include "swift/Basic/Lazy.h"
7272

73+
#include "../SwiftShims/LibcShims.h"
7374
#include "../SwiftShims/RuntimeShims.h"
7475
#include "../SwiftShims/RuntimeStubs.h"
7576

@@ -263,7 +264,8 @@ uint64_t swift_float80ToString(char *Buffer, size_t BufferLength,
263264
///
264265
/// \returns Size of character data returned in \c LinePtr, or -1
265266
/// if an error occurred, or EOF was reached.
266-
ssize_t swift::swift_stdlib_readLine_stdin(unsigned char **LinePtr) {
267+
swift::__swift_ssize_t
268+
swift::swift_stdlib_readLine_stdin(unsigned char **LinePtr) {
267269
#if defined(_WIN32)
268270
if (LinePtr == nullptr)
269271
return -1;

0 commit comments

Comments
 (0)