[Python-checkins] r45227 - python/trunk/Modules/posixmodule.c (original) (raw)

neal.norwitz python-checkins at python.org
Mon Apr 10 09:44:24 CEST 2006


Author: neal.norwitz Date: Mon Apr 10 09:44:23 2006 New Revision: 45227

Modified: python/trunk/Modules/posixmodule.c Log: Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore?

Modified: python/trunk/Modules/posixmodule.c

--- python/trunk/Modules/posixmodule.c (original) +++ python/trunk/Modules/posixmodule.c Mon Apr 10 09:44:23 2006 @@ -3094,7 +3094,7 @@ #if defined(HAVE_DEV_PTMX) && !defined(HAVE_OPENPTY) && !defined(HAVE__GETPTY) PyOS_sighandler_t sig_saved; #ifdef sun - extern char *ptsname(); + extern char *ptsname(int fildes); #endif #endif


More information about the Python-checkins mailing list