some coverity fixes.
[minix.git] / lib / libc / sys-minix / rmdir.c
blob272c1e4bfaf4d785526a7722d70ec0e19fd48f67
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #ifdef __weak_alias
6 __weak_alias(rmdir, _rmdir)
7 #endif
9 #include <unistd.h>
11 int rmdir(name)
12 const char *name;
14 message m;
16 _loadname(name, &m);
17 return(_syscall(VFS_PROC_NR, RMDIR, &m));