aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);