From d910ef2099f476ab2564d7c9ba2a33dc797b6385 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 29 Apr 2014 16:17:55 +0200 Subject: removed `vim_free()` function --- src/misc2.c | 10 ---------- src/misc2.h | 1 - 2 files changed, 11 deletions(-) (limited to 'src') 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); -- cgit