[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.173,2.174

Guido van Rossum python-dev@python.org
Mon, 25 Sep 2000 06:22:04 -0700


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

Modified Files:
	posixmodule.c 
Log Message:
Add missing prototypes for the benefit of SunOS 4.1.4 */


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.173
retrieving revision 2.174
diff -C2 -r2.173 -r2.174
*** posixmodule.c	2000/09/22 17:26:14	2.173
--- posixmodule.c	2000/09/25 13:22:00	2.174
***************
*** 109,112 ****
--- 109,119 ----
  #endif
  
+ #if defined(sun) && !defined(__SVR4)
+ /* SunOS 4.1.4 doesn't have prototypes for these: */
+ extern int rename(const char *, const char *);
+ extern int pclose(FILE *);
+ extern int fclose(FILE *);
+ #endif
+ 
  #ifdef NeXT
  /* NeXT's <unistd.h> and <utime.h> aren't worth much */