diff options
Diffstat (limited to 'src/nvim/version.c')
-rw-r--r-- | src/nvim/version.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/nvim/version.c b/src/nvim/version.c index 748e2ded07..02d5f66260 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -136,21 +136,6 @@ static char *(features[]) = { "+tag_binary", "+tag_old_static", "-tag_any_white", -#if defined(UNIX) - - // only Unix can have terminfo instead of termcap -# ifdef TERMINFO - "+terminfo", -# else // ifdef TERMINFO - "-terminfo", -# endif // ifdef TERMINFO -#else // unix always includes termcap support -# ifdef HAVE_TGETENT - "+tgetent", -# else // ifdef HAVE_TGETENT - "-tgetent", -# endif // ifdef HAVE_TGETENT -#endif // if defined(UNIX) "+termresponse", "+textobjects", "+title", @@ -813,19 +798,6 @@ static char *(extra_patches[]) = { NULL }; -int highest_patch(void) -{ - int i; - int h = 0; - - for (i = 0; included_patches[i] != 0; ++i) { - if (included_patches[i] > h) { - h = included_patches[i]; - } - } - return h; -} - /// Checks whether patch `n` has been included. /// /// @param n The patch number. |