We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cf3f3 commit 949620aCopy full SHA for 949620a
syscalls.c
@@ -51,3 +51,19 @@ void* _sbrk(int incr)
51
52
return (void*) prev_heap_end;
53
}
54
+
55
+// empty syscall functions to quiet the compiler
56
+// perhaps we should actually implement them to make some stdlib stuff work?
57
+// perhaps we should add debug prints so we know if/when they're being called
58
+void _close(void){}
59
+void _fstat_r(void){}
60
+void _getpid_r(void){}
61
+void _gettimeofday_r(void){}
62
+void _isatty_r(void){}
63
+void _kill_r(void){}
64
+void _link_r(void){}
65
+void _lseek(void){}
66
+void _read(void){}
67
+void _open_r(void){}
68
+void _times_r(void){}
69
+void _unlink_r(void){}
0 commit comments