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

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] Remove functions provided by libvfscore



Thanks, Vlad!

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 4/18/19 2:09 PM, Vlad-Andrei BĂDOIU (78692) wrote:
> The core patch 'lib/vfs: expose remaining vfs functions'
> provides additional functions which are currently stubs
> in newlib's gluecode. This patch removes the stubs.
> 
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> ---
>  file.c | 41 -----------------------------------------
>  1 file changed, 41 deletions(-)
> 
> diff --git a/file.c b/file.c
> index 8bb4a01..02f1b6f 100644
> --- a/file.c
> +++ b/file.c
> @@ -45,47 +45,6 @@ extern int errno;
>  #define STDOUT_FILENO   1       /* standard output file descriptor */
>  #define STDERR_FILENO   2       /* standard error file descriptor */
>  
> -int link(char *old __unused, char *new __unused)
> -{
> -     errno = EMLINK;
> -     return -1;
> -}
> -
> -int lseek(int file __unused, int ptr __unused, int dir __unused)
> -{
> -     return 0;
> -}
> -
> -int access(const char *path __unused, int amode __unused)
> -{
> -     return 0;
> -}
> -
> -int chdir(const char *path __unused)
> -{
> -     return 0;
> -}
> -
> -#include <dirent.h>
> -int closedir(DIR *dirp __unused)
> -{
> -     return 0;
> -}
> -
> -void rewinddir(DIR *dirp __unused)
> -{
> -}
> -
> -DIR *fdopendir(int fd __unused)
> -{
> -     return NULL;
> -}
> -
> -int rmdir(const char *path __unused)
> -{
> -     return 0;
> -}
> -
>  mode_t umask(mode_t cmask __unused)
>  {
>       return 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®.