From: Felipe Huici Date: Fri, 5 Apr 2019 18:25:04 +0000 (+0200) Subject: Remove stub for opendir X-Git-Tag: RELEASE-0.4~105 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=972e335dbe5778fa07ed33768e1e32599998cadd;p=unikraft%2Flibs%2Fnewlib.git 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 Reviewed-by: Costin Lupu --- 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;