shithub: scc

Download patch

ref: 7a0162ccab2a49e56e2da35d3929fab28b7173cf
parent: f0d96fb56be96e04d26c17a7f7bbb6f6e53ef640
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Sep 14 13:29:05 EDT 2021

libc: Syncronize syscall.h

Several functions with prototypes in syscall.h
were moved to specific system directories but
the old and not standard definitions were still
in syscall.h generating additonal and not compatible
declarations.

--- a/src/libc/syscall.h
+++ b/src/libc/syscall.h
@@ -1,8 +1,6 @@
 extern int _brk(void *);
 extern void _exit(int);
 extern int _close(int);
-extern int _getpid(void);
-extern int _kill(int, int);
 extern int _open(const char *, int, int);
 extern int _read(int, void *, size_t);
 extern int _unlink(const char *);