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

Thomas Wouters thomas@xs4all.net
Mon, 25 Sep 2000 15:56:17 +0200


On Mon, Sep 25, 2000 at 06:22:04AM -0700, Guido van Rossum wrote:
> 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 */

These should go in pyport.h ! Unless you have some reason not to export them
to other file, but in that case we need to take a good look at the whole
pyport.h thing.

> + #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
> + 


-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!