aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-04-29 16:17:55 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-05-05 18:40:07 -0400
commitd910ef2099f476ab2564d7c9ba2a33dc797b6385 (patch)
tree3acb87261592797dbcae7eb490fba0624191d527
parentf9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3 (diff)
downloadrneovim-d910ef2099f476ab2564d7c9ba2a33dc797b6385.tar.gz
rneovim-d910ef2099f476ab2564d7c9ba2a33dc797b6385.tar.bz2
rneovim-d910ef2099f476ab2564d7c9ba2a33dc797b6385.zip
removed `vim_free()` function
-rw-r--r--src/misc2.c10
-rw-r--r--src/misc2.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/misc2.c b/src/misc2.c
index e25918a2f5..c424dd8709 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -634,16 +634,6 @@ int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars)
return len;
}
-///
-/// Replacement for free().
-///
-/// @deprecated Use free() instead
-///
-void vim_free(void *x)
-{
- free(x);
-}
-
/*
* Return the current end-of-line type: EOL_DOS, EOL_UNIX or EOL_MAC.
*/
diff --git a/src/misc2.h b/src/misc2.h
index a15c75c435..2e292c8fc7 100644
--- a/src/misc2.h
+++ b/src/misc2.h
@@ -27,7 +27,6 @@ int leftcol_changed(void);
int csh_like_shell(void);
int copy_option_part(char_u **option, char_u *buf, int maxlen,
char *sep_chars);
-void vim_free(void *x);
int get_fileformat(buf_T *buf);
int get_fileformat_force(buf_T *buf, exarg_T *eap);
void set_fileformat(int t, int opt_flags);