diff options
| author | Thomas Wouters <thomas@python.org> | 2000-07-22 23:59:33 +0000 |
|---|---|---|
| committer | Thomas Wouters <thomas@python.org> | 2000-07-22 23:59:33 +0000 |
| commit | 6863bc70f05af593fbbdb33cde7238f78a70e9c8 (patch) | |
| tree | df136f3617349e2685feb544a170bcb0ebf43f71 /PC | |
| parent | 430a8dabb96ace9b8b20752daea9e90665825012 (diff) | |
| download | cpython-6863bc70f05af593fbbdb33cde7238f78a70e9c8.tar.gz | |
ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/WinMain.c | 2 | ||||
| -rw-r--r-- | PC/getpathp.c | 2 | ||||
| -rw-r--r-- | PC/os2vacpp/getpathp.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/PC/WinMain.c b/PC/WinMain.c index c3d0f2fe1f..4249567fa6 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 e4ff136ea7..8178ab27cf 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -336,7 +336,7 @@ done: 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 1c78674175..533689c63f 100644 --- a/PC/os2vacpp/getpathp.c +++ b/PC/os2vacpp/getpathp.c @@ -16,7 +16,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. #ifdef MS_WIN32 #include <windows.h> -extern BOOL PyWin_IsWin32s(); +extern BOOL PyWin_IsWin32s(void); #endif #include <sys/types.h> @@ -242,7 +242,7 @@ getpythonregpath(HKEY keyBase, BOOL bWin32s) static void get_progpath(void) { - extern char *Py_GetProgramName(); + extern char *Py_GetProgramName(void); char *path = getenv("PATH"); char *prog = Py_GetProgramName(); |
