Fix puts not being defined in libc

This commit is contained in:
pjht 2019-09-05 16:14:04 -05:00
parent 500af38e40
commit 9b56ca3be8

View File

@ -197,6 +197,10 @@ size_t fread(void* buffer_ptr,size_t size,size_t count,FILE* stream) {
return 0;
}
int puts(const char *s) {
return fputs(s,stdout);
}
int fputs(const char* s, FILE* stream) {
if (vfs_box==0) {
serial_print("The VFS box has not been found\n");