shithub: scc

Download patch

ref: bdb679b87123bfd001006f45c317e1e6832b791a
parent: 89e72c2d2d478536697490f2427a2d429ce72983
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat May 16 15:59:38 EDT 2020

libc: Amend commit 97caea2d

The prototype and the .gitignore was forgotten.

--- a/src/libc/arch/amd64/linux/.gitignore
+++ b/src/libc/arch/amd64/linux/.gitignore
@@ -9,3 +9,4 @@
 _sigaction.s
 _sys_errlist.c
 _write.s
+_unlink.s
--- a/src/libc/syscall.h
+++ b/src/libc/syscall.h
@@ -6,3 +6,4 @@
 extern int _lseek(int fd, long off, int whence);
 extern void _Exit(int status);
 extern int _access(char *path, int mode);
+extern int _unlink(const char *path);