Update crt0

Fix #8424
This commit is contained in:
topjohnwu 2024-10-02 16:37:07 -07:00
parent 7f675f4bf7
commit 8086b5933c
3 changed files with 3 additions and 7 deletions

View File

@ -8,10 +8,6 @@ using namespace std;
#ifdef USE_CRT0
__BEGIN_DECLS
int tfp_vsscanf(const char *s, const char *fmt, va_list args);
int vsscanf(const char *s, const char *fmt, va_list args) {
return tfp_vsscanf(s, fmt, args);
}
int musl_vfprintf(FILE *stream, const char *format, va_list arg);
int vfprintf(FILE *stream, const char *format, va_list arg) {
return musl_vfprintf(stream, format, arg);

@ -1 +1 @@
Subproject commit 1602918648775f79672898abb83877dc2ca3a890
Subproject commit 795cab5ab6a5ed1fad9432fd7dcea20ca137b5c1

View File

@ -13,9 +13,9 @@ using namespace std;
#ifdef USE_CRT0
__BEGIN_DECLS
int tfp_vfprintf(FILE *stream, const char *format, va_list arg);
int tiny_vfprintf(FILE *stream, const char *format, va_list arg);
int vfprintf(FILE *stream, const char *format, va_list arg) {
return tfp_vfprintf(stream, format, arg);
return tiny_vfprintf(stream, format, arg);
}
__END_DECLS
#endif