mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
removed vim_free()
function
This commit is contained in:

committed by
Justin M. Keyes

parent
f9d4c78ddc
commit
d910ef2099
10
src/misc2.c
10
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.
|
||||
*/
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user