[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/NEWLIB PATCH] Remove stub for opendir



The opendir function is now provided by Unikraft's vfs library,
remove the stub from newlib to prevent multiple definition errors.

Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 file.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/file.c b/file.c
index 05d29b5..9b6305f 100644
--- a/file.c
+++ b/file.c
@@ -81,11 +81,6 @@ struct dirent *readdir(DIR *dirp __unused)
        return NULL;
 }
 
-DIR *opendir(const char *dirname __unused)
-{
-       return NULL;
-}
-
 DIR *fdopendir(int fd __unused)
 {
        return NULL;
-- 
2.11.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.