Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore?
This commit is contained in:
parent
14bc4e4d89
commit
84a98e07f5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue