@@ -286,7 +286,7 @@ mch_early_init(void)
286286 * Return TRUE if the input comes from a terminal, FALSE otherwise.
287287 */
288288 int
289- mch_input_isatty ()
289+ mch_input_isatty (void )
290290{
291291#ifdef FEAT_GUI_MSWIN
292292 return OK ; /* GUI always has a tty */
@@ -355,7 +355,7 @@ mch_restore_title(
355355 * Return TRUE if we can restore the title (we can)
356356 */
357357 int
358- mch_can_restore_title ()
358+ mch_can_restore_title (void )
359359{
360360 return TRUE;
361361}
@@ -365,7 +365,7 @@ mch_can_restore_title()
365365 * Return TRUE if we can restore the icon title (we can't)
366366 */
367367 int
368- mch_can_restore_icon ()
368+ mch_can_restore_icon (void )
369369{
370370 return FALSE;
371371}
@@ -486,8 +486,7 @@ mch_isFullName(char_u *fname)
486486 * When the path looks like a URL leave it unmodified.
487487 */
488488 void
489- slash_adjust (p )
490- char_u * p ;
489+ slash_adjust (char_u * p )
491490{
492491 if (path_with_url (p ))
493492 return ;
@@ -708,7 +707,7 @@ mch_new_shellsize(void)
708707 * We have no job control, so fake it by starting a new shell.
709708 */
710709 void
711- mch_suspend ()
710+ mch_suspend (void )
712711{
713712 suspend_shell ();
714713}
@@ -723,7 +722,7 @@ mch_suspend()
723722 * Display the saved error message(s).
724723 */
725724 void
726- display_errors ()
725+ display_errors (void )
727726{
728727 char * p ;
729728
@@ -864,7 +863,7 @@ can_end_termcap_mode(
864863 * return non-zero if a character is available
865864 */
866865 int
867- mch_char_avail ()
866+ mch_char_avail (void )
868867{
869868 /* never used */
870869 return TRUE;
@@ -965,8 +964,7 @@ mch_icon_load_cb(char_u *fname, void *cookie)
965964 * Try loading an icon file from 'runtimepath'.
966965 */
967966 int
968- mch_icon_load (iconp )
969- HANDLE * iconp ;
967+ mch_icon_load (HANDLE * iconp )
970968{
971969 return do_in_runtimepath ((char_u * )"bitmaps/vim.ico" ,
972970 FALSE, mch_icon_load_cb , iconp );
@@ -1831,9 +1829,7 @@ static int prt_pos_x = 0;
18311829static int prt_pos_y = 0 ;
18321830
18331831 void
1834- mch_print_start_line (margin , page_line )
1835- int margin ;
1836- int page_line ;
1832+ mch_print_start_line (int margin , int page_line )
18371833{
18381834 if (margin )
18391835 prt_pos_x = - prt_number_width ;
@@ -2070,7 +2066,7 @@ mch_resolve_shortcut(char_u *fname)
20702066 * Bring ourselves to the foreground. Does work if the OS doesn't allow it.
20712067 */
20722068 void
2073- win32_set_foreground ()
2069+ win32_set_foreground (void )
20742070{
20752071# ifndef FEAT_GUI
20762072 GetConsoleHwnd (); /* get value of s_hwnd */
@@ -2486,9 +2482,9 @@ serverGetVimNames(void)
24862482}
24872483
24882484 int
2489- serverSendReply (name , reply )
2490- char_u * name ; /* Where to send. */
2491- char_u * reply ; /* What to send. */
2485+ serverSendReply (
2486+ char_u * name , /* Where to send. */
2487+ char_u * reply ) /* What to send. */
24922488{
24932489 HWND target ;
24942490 COPYDATASTRUCT data ;
@@ -2519,13 +2515,13 @@ serverSendReply(name, reply)
25192515}
25202516
25212517 int
2522- serverSendToVim (name , cmd , result , ptarget , asExpr , silent )
2523- char_u * name ; /* Where to send. */
2524- char_u * cmd ; /* What to send. */
2525- char_u * * result ; /* Result of eval'ed expression */
2526- void * ptarget ; /* HWND of server */
2527- int asExpr ; /* Expression or keys? */
2528- int silent ; /* don't complain about no server */
2518+ serverSendToVim (
2519+ char_u * name , /* Where to send. */
2520+ char_u * cmd , /* What to send. */
2521+ char_u * * result , /* Result of eval'ed expression */
2522+ void * ptarget , /* HWND of server */
2523+ int asExpr , /* Expression or keys? */
2524+ int silent ) /* don't complain about no server */
25292525{
25302526 HWND target ;
25312527 COPYDATASTRUCT data ;
@@ -2578,8 +2574,7 @@ serverSendToVim(name, cmd, result, ptarget, asExpr, silent)
25782574 * Bring the server to the foreground.
25792575 */
25802576 void
2581- serverForeground (name )
2582- char_u * name ;
2577+ serverForeground (char_u * name )
25832578{
25842579 HWND target = findServer (name );
25852580
@@ -3101,7 +3096,7 @@ get_logfont(
31013096 * Initialize the Winsock dll.
31023097 */
31033098 void
3104- channel_init_winsock ()
3099+ channel_init_winsock (void )
31053100{
31063101 WSADATA wsaData ;
31073102 int wsaerr ;
0 commit comments