[Python-checkins] CVS: python/dist/src/PC/os2vacpp getpathp.c,1.8,1.9
Thomas Wouters
python-dev@python.org
Sat, 22 Jul 2000 16:59:35 -0700
Update of /cvsroot/python/python/dist/src/PC/os2vacpp
In directory slayer.i.sourceforge.net:/tmp/cvs-serv11697/PC/os2vacpp
Modified Files:
getpathp.c
Log Message:
ANSIfication: remove very-old-varargs code, fix function declarations so
they include prototypes.
Index: getpathp.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/os2vacpp/getpathp.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** getpathp.c 2000/07/22 19:25:51 1.8
--- getpathp.c 2000/07/22 23:59:33 1.9
***************
*** 17,21 ****
#ifdef MS_WIN32
#include <windows.h>
! extern BOOL PyWin_IsWin32s();
#endif
--- 17,21 ----
#ifdef MS_WIN32
#include <windows.h>
! extern BOOL PyWin_IsWin32s(void);
#endif
***************
*** 243,247 ****
get_progpath(void)
{
! extern char *Py_GetProgramName();
char *path = getenv("PATH");
char *prog = Py_GetProgramName();
--- 243,247 ----
get_progpath(void)
{
! extern char *Py_GetProgramName(void);
char *path = getenv("PATH");
char *prog = Py_GetProgramName();