From: Neal Norwitz Date: Mon, 10 Apr 2006 07:44:23 +0000 (+0000) Subject: Fix warning about ptsname not being a prototype on Solaris. Is this prototype even... X-Git-Tag: v2.5a2~375 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2;p=python Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore? --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 84e46375f0..bc966817a7 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -3094,7 +3094,7 @@ posix_openpty(PyObject *self, PyObject *noargs) #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