comparison src/os_win32.c @ 14862:27b9a84395b5 v8.1.0443

patch 8.1.0443: unnecessary static function prototypes commit https://github.com/vim/vim/commit/6dff58f15cede9139b2fcfc64c9064326ea3d3b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 30 21:43:26 2018 +0200 patch 8.1.0443: unnecessary static function prototypes Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
author Christian Brabandt <cb@256bit.org>
date Sun, 30 Sep 2018 21:45:07 +0200
parents 193471015e1a
children ccedb80725c5
comparison
equal deleted inserted replaced
14861:41fbdae837df 14862:27b9a84395b5
166 166
167 static int g_fCBrkPressed = FALSE; /* set by ctrl-break interrupt */ 167 static int g_fCBrkPressed = FALSE; /* set by ctrl-break interrupt */
168 static int g_fCtrlCPressed = FALSE; /* set when ctrl-C or ctrl-break detected */ 168 static int g_fCtrlCPressed = FALSE; /* set when ctrl-C or ctrl-break detected */
169 static int g_fForceExit = FALSE; /* set when forcefully exiting */ 169 static int g_fForceExit = FALSE; /* set when forcefully exiting */
170 170
171 static void termcap_mode_start(void);
172 static void termcap_mode_end(void);
173 static void clear_chars(COORD coord, DWORD n);
174 static void clear_screen(void);
175 static void clear_to_end_of_display(void);
176 static void clear_to_end_of_line(void);
177 static void scroll(unsigned cLines); 171 static void scroll(unsigned cLines);
178 static void set_scroll_region(unsigned left, unsigned top, 172 static void set_scroll_region(unsigned left, unsigned top,
179 unsigned right, unsigned bottom); 173 unsigned right, unsigned bottom);
180 static void insert_lines(unsigned cLines);
181 static void delete_lines(unsigned cLines); 174 static void delete_lines(unsigned cLines);
182 static void gotoxy(unsigned x, unsigned y); 175 static void gotoxy(unsigned x, unsigned y);
183 static void normvideo(void);
184 static void textattr(WORD wAttr);
185 static void textcolor(WORD wAttr);
186 static void textbackground(WORD wAttr);
187 static void standout(void); 176 static void standout(void);
188 static void standend(void);
189 static void visual_bell(void);
190 static void cursor_visible(BOOL fVisible);
191 static DWORD write_chars(char_u *pchBuf, DWORD cbToWrite);
192 static void create_conin(void);
193 static int s_cursor_visible = TRUE; 177 static int s_cursor_visible = TRUE;
194 static int did_create_conin = FALSE; 178 static int did_create_conin = FALSE;
195 #else 179 #else
196 static int s_dont_use_vimrun = TRUE; 180 static int s_dont_use_vimrun = TRUE;
197 static int need_vimrun_warning = FALSE; 181 static int need_vimrun_warning = FALSE;
3485 /* 3469 /*
3486 * set file attributes for `name' to `attrs' 3470 * set file attributes for `name' to `attrs'
3487 * 3471 *
3488 * return -1 for failure, 0 otherwise 3472 * return -1 for failure, 0 otherwise
3489 */ 3473 */
3490 static 3474 static int
3491 int
3492 win32_setattrs(char_u *name, int attrs) 3475 win32_setattrs(char_u *name, int attrs)
3493 { 3476 {
3494 int res; 3477 int res;
3495 #ifdef FEAT_MBYTE 3478 #ifdef FEAT_MBYTE
3496 WCHAR *p = NULL; 3479 WCHAR *p = NULL;
3511 } 3494 }
3512 3495
3513 /* 3496 /*
3514 * Set archive flag for "name". 3497 * Set archive flag for "name".
3515 */ 3498 */
3516 static 3499 static int
3517 int
3518 win32_set_archive(char_u *name) 3500 win32_set_archive(char_u *name)
3519 { 3501 {
3520 int attrs = win32_getattrs(name); 3502 int attrs = win32_getattrs(name);
3521 if (attrs == -1) 3503 if (attrs == -1)
3522 return -1; 3504 return -1;