patch 7.4.1213
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
diff --git a/src/os_win16.c b/src/os_win16.c
index efddeeb..92367ee 100644
--- a/src/os_win16.c
+++ b/src/os_win16.c
@@ -156,7 +156,7 @@
* GUI version of mch_init().
*/
void
-mch_init()
+mch_init(void)
{
extern int _fmode;
@@ -206,7 +206,7 @@
* return process ID
*/
long
-mch_get_pid()
+mch_get_pid(void)
{
return (long)GetCurrentTask();
}
@@ -379,7 +379,7 @@
* check for an "interrupt signal": CTRL-break or CTRL-C
*/
void
-mch_breakcheck()
+mch_breakcheck(void)
{
/* never used */
}
@@ -417,7 +417,7 @@
* Get the default shell for the current hardware platform
*/
char*
-default_shell()
+default_shell(void)
{
char* psz = NULL;