aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-04-08 22:31:23 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-11 13:31:48 -0300
commit96ddc0198d701db7f4e114d3cc4859456e117c97 (patch)
tree40bb0bdfc4a23e6626a2c4caf81f9d6f677a79ee
parenta1df458524e9de0c19e4151e15765dc2bc508259 (diff)
downloadrneovim-96ddc0198d701db7f4e114d3cc4859456e117c97.tar.gz
rneovim-96ddc0198d701db7f4e114d3cc4859456e117c97.tar.bz2
rneovim-96ddc0198d701db7f4e114d3cc4859456e117c97.zip
removed mch_rmdir macro
-rw-r--r--src/fileio.c2
-rw-r--r--src/os_unix_defs.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index f98ed4ecb9..396f0a728c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5622,7 +5622,7 @@ void vim_deltempdir(void)
FreeWild(file_count, files);
}
path_tail(NameBuff)[-1] = NUL;
- (void)mch_rmdir(NameBuff);
+ os_rmdir((char *)NameBuff);
vim_free(vim_tempdir);
vim_tempdir = NULL;
diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h
index f4ae6b95ba..1e5708da53 100644
--- a/src/os_unix_defs.h
+++ b/src/os_unix_defs.h
@@ -31,7 +31,6 @@
#endif
#define vim_mkdir(x, y) os_mkdir((char *)(x), (y))
-#define mch_rmdir(x) os_rmdir((char *)(x))
/* The number of arguments to a signal handler is configured here. */
/* It used to be a long list of almost all systems. Any system that doesn't