diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 23:59:33 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 23:59:33 (GMT) |
commit | a534594fc72cddd5c29ed8debbb3d2f16792db97 (patch) | |
tree | 666ab77fd65e2c8c1ff3613cdb57d754980bd588 /PC/os2vacpp | |
parent | bd4bc4e9e947617def66780efbbea4eb08990e56 (diff) | |
download | cpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.zip cpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.tar.gz cpython-a534594fc72cddd5c29ed8debbb3d2f16792db97.tar.bz2 |
ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.
Diffstat (limited to 'PC/os2vacpp')
-rw-r--r-- | PC/os2vacpp/getpathp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ 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(); |