comparison src/gui.c @ 13080:eee366f56b1a v8.0.1415

patch 8.0.1415: warning for unused function without timers feature commit https://github.com/vim/vim/commit/4ce46c2a6b59586e329fb41ad25799872bffc2c8 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 19 19:42:41 2017 +0100 patch 8.0.1415: warning for unused function without timers feature Problem: Warning for unused function without timers feature. Solution: Add #ifdef. (John Marriott)
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Dec 2017 19:45:05 +0100
parents dc160dbdcfe2
children 808625d4b71b
comparison
equal deleted inserted replaced
13079:de71c1f24efa 13080:eee366f56b1a
2883 gui.cursor_is_valid = FALSE; 2883 gui.cursor_is_valid = FALSE;
2884 } 2884 }
2885 } 2885 }
2886 } 2886 }
2887 2887
2888 #ifdef FEAT_TIMERS
2888 /* 2889 /*
2889 * Passed to ui_wait_for_chars_or_timer(), ignoring extra arguments. 2890 * Passed to ui_wait_for_chars_or_timer(), ignoring extra arguments.
2890 */ 2891 */
2891 static int 2892 static int
2892 gui_wait_for_chars_3( 2893 gui_wait_for_chars_3(
2894 int *interrupted UNUSED, 2895 int *interrupted UNUSED,
2895 int ignore_input UNUSED) 2896 int ignore_input UNUSED)
2896 { 2897 {
2897 return gui_mch_wait_for_chars(wtime); 2898 return gui_mch_wait_for_chars(wtime);
2898 } 2899 }
2900 #endif
2899 2901
2900 /* 2902 /*
2901 * Returns OK if a character was found to be available within the given time, 2903 * Returns OK if a character was found to be available within the given time,
2902 * or FAIL otherwise. 2904 * or FAIL otherwise.
2903 */ 2905 */