]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
Remove readdir stub function
authorFlorian Schmidt <florian.schmidt@neclab.eu>
Fri, 12 Apr 2019 07:09:00 +0000 (09:09 +0200)
committerFelipe Huici <felipe.huici@neclab.eu>
Fri, 12 Apr 2019 12:41:52 +0000 (14:41 +0200)
This is provided by vfscore, on which newlib has a dependency.

Signed-off-by: Florian Schmidt <florian.schmidt@neclab.eu>
Reviewed-by: Costin Lupu <costin.lupu@cs.pub.ro>
file.c

diff --git a/file.c b/file.c
index 9b6305f16e3024474e48c380d2431d6a8b9c9d5f..8bb4a01715ea47ff23281520546f8b7966d010d1 100644 (file)
--- a/file.c
+++ b/file.c
@@ -76,11 +76,6 @@ void rewinddir(DIR *dirp __unused)
 {
 }
 
-struct dirent *readdir(DIR *dirp __unused)
-{
-       return NULL;
-}
-
 DIR *fdopendir(int fd __unused)
 {
        return NULL;