ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.
diff --git a/PC/WinMain.c b/PC/WinMain.c
index c3d0f2f..4249567 100644
--- a/PC/WinMain.c
+++ b/PC/WinMain.c
@@ -5,7 +5,7 @@
#include "Python.h"
-extern int Py_Main();
+extern int Py_Main(int, char **);
int WINAPI WinMain(
HINSTANCE hInstance, /* handle to current instance */
diff --git a/PC/getpathp.c b/PC/getpathp.c
index e4ff136..8178ab2 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -336,7 +336,7 @@
static void
get_progpath(void)
{
- extern char *Py_GetProgramName();
+ extern char *Py_GetProgramName(void);
char *path = getenv("PATH");
char *prog = Py_GetProgramName();
diff --git a/PC/os2vacpp/getpathp.c b/PC/os2vacpp/getpathp.c
index 1c78674..533689c 100644
--- a/PC/os2vacpp/getpathp.c
+++ b/PC/os2vacpp/getpathp.c
@@ -16,7 +16,7 @@
#ifdef MS_WIN32
#include <windows.h>
-extern BOOL PyWin_IsWin32s();
+extern BOOL PyWin_IsWin32s(void);
#endif
#include <sys/types.h>
@@ -242,7 +242,7 @@
static void
get_progpath(void)
{
- extern char *Py_GetProgramName();
+ extern char *Py_GetProgramName(void);
char *path = getenv("PATH");
char *prog = Py_GetProgramName();