[Python-checkins] CVS: python/dist/src/Python dynload_aix.c,2.7,2.8 dynload_dl.c,2.4,2.5 frozenmain.c,2.23,2.24 import.c,2.142,2.143 thread_lwp.h,2.12,2.13

Thomas Wouters python-dev@python.org
Sat, 22 Jul 2000 16:38:04 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv10119

Modified Files:
	dynload_aix.c dynload_dl.c frozenmain.c import.c thread_lwp.h 
Log Message:

ANSIfy as many declarations as possible.



Index: dynload_aix.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_aix.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -r2.7 -r2.8
*** dynload_aix.c	2000/07/22 18:47:25	2.7
--- dynload_aix.c	2000/07/22 23:38:01	2.8
***************
*** 29,33 ****
  
  
! extern char *Py_GetProgramName();
  
  typedef struct Module {
--- 29,33 ----
  
  
! extern char *Py_GetProgramName(void);
  
  typedef struct Module {

Index: dynload_dl.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_dl.c,v
retrieving revision 2.4
retrieving revision 2.5
diff -C2 -r2.4 -r2.5
*** dynload_dl.c	2000/06/30 23:58:06	2.4
--- dynload_dl.c	2000/07/22 23:38:01	2.5
***************
*** 17,21 ****
  
  
! extern char *Py_GetProgramName();
  
  const struct filedescr _PyImport_DynLoadFiletab[] = {
--- 17,21 ----
  
  
! extern char *Py_GetProgramName(void);
  
  const struct filedescr _PyImport_DynLoadFiletab[] = {

Index: frozenmain.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/frozenmain.c,v
retrieving revision 2.23
retrieving revision 2.24
diff -C2 -r2.23 -r2.24
*** frozenmain.c	2000/07/22 18:47:25	2.23
--- frozenmain.c	2000/07/22 23:38:01	2.24
***************
*** 14,20 ****
  
  #ifdef MS_WIN32
! extern void PyWinFreeze_ExeInit();
! extern void PyWinFreeze_ExeTerm();
! extern int PyInitFrozenExtensions();
  #endif
  
--- 14,20 ----
  
  #ifdef MS_WIN32
! extern void PyWinFreeze_ExeInit(void);
! extern void PyWinFreeze_ExeTerm(void);
! extern int PyInitFrozenExtensions(void);
  #endif
  

Index: import.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/import.c,v
retrieving revision 2.142
retrieving revision 2.143
diff -C2 -r2.142 -r2.143
*** import.c	2000/07/22 18:47:25	2.142
--- import.c	2000/07/22 23:38:01	2.143
***************
*** 818,822 ****
  
  #ifdef MS_COREDLL
! extern FILE *PyWin_FindRegisteredModule();
  #endif
  
--- 818,823 ----
  
  #ifdef MS_COREDLL
! extern FILE *PyWin_FindRegisteredModule(const char *, struct filedescr **,
! 					char *, int);
  #endif
  

Index: thread_lwp.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/thread_lwp.h,v
retrieving revision 2.12
retrieving revision 2.13
diff -C2 -r2.12 -r2.13
*** thread_lwp.h	2000/07/22 18:47:25	2.12
--- thread_lwp.h	2000/07/22 23:38:01	2.13
***************
*** 107,111 ****
  {
  	struct lock *lock;
! 	extern char *malloc();
  
  	dprintf(("PyThread_allocate_lock called\n"));
--- 107,111 ----
  {
  	struct lock *lock;
! 	extern char *malloc(size_t);
  
  	dprintf(("PyThread_allocate_lock called\n"));