comparison src/term.c @ 15555:d89c5b339c2a v8.1.0785

patch 8.1.0785: depending on the configuration some functions are unused commit https://github.com/vim/vim/commit/113e10721f42fc2500b63fe95193f8665658a90c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 20 15:30:40 2019 +0100 patch 8.1.0785: depending on the configuration some functions are unused Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jan 2019 15:45:07 +0100
parents dd725a8ab112
children 62b3805506b3
comparison
equal deleted inserted replaced
15554:496f146a0836 15555:d89c5b339c2a
2836 2836
2837 static int winpos_x = -1; 2837 static int winpos_x = -1;
2838 static int winpos_y = -1; 2838 static int winpos_y = -1;
2839 static int did_request_winpos = 0; 2839 static int did_request_winpos = 0;
2840 2840
2841 # if (defined(FEAT_EVAL) && defined(HAVE_TGETENT)) || defined(PROTO)
2841 /* 2842 /*
2842 * Try getting the Vim window position from the terminal. 2843 * Try getting the Vim window position from the terminal.
2843 * Returns OK or FAIL. 2844 * Returns OK or FAIL.
2844 */ 2845 */
2845 int 2846 int
2883 return OK; 2884 return OK;
2884 } 2885 }
2885 2886
2886 return FALSE; 2887 return FALSE;
2887 } 2888 }
2889 # endif
2888 # endif 2890 # endif
2889 2891
2890 void 2892 void
2891 term_set_winsize(int height, int width) 2893 term_set_winsize(int height, int width)
2892 { 2894 {