]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
file.c: Remove pipe() function
authorCostin Lupu <costin.lupu@cs.pub.ro>
Fri, 20 Sep 2019 14:37:43 +0000 (17:37 +0300)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Fri, 20 Sep 2019 15:24:24 +0000 (18:24 +0300)
pipe() is implemented in the kernel now.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
file.c

diff --git a/file.c b/file.c
index 006f191c5aaac9efa7479a3688520adb98d5eab7..26f97b1b3d51fd293dc964b806f7e463acbd4539 100644 (file)
--- a/file.c
+++ b/file.c
@@ -97,12 +97,6 @@ int utimes(const char *filename __unused,
        return 0;
 }
 
-int pipe(int pipefd[2] __unused)
-{
-       errno = EFAULT;
-       return -1;
-}
-
 char *realpath(const char *restrict file_name, char *restrict resolved_name)
 {
        return 0;