]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/cpu/os.c
unit-test: make "test -e" test independent of $CWD
[karo-tx-uboot.git] / arch / sandbox / cpu / os.c
index 725b505177d33938cee5cf4ce8308bb13bf11c9a..98f565eaaf8cfd2d19fb0c011983bb2198d6dce6 100644 (file)
@@ -92,6 +92,11 @@ int os_close(int fd)
        return close(fd);
 }
 
+int os_unlink(const char *pathname)
+{
+       return unlink(pathname);
+}
+
 void os_exit(int exit_code)
 {
        exit(exit_code);
@@ -143,7 +148,7 @@ void *os_malloc(size_t length)
        return hdr + 1;
 }
 
-void *os_free(void *ptr)
+void os_free(void *ptr)
 {
        struct os_mem_hdr *hdr = ptr;