Commit ecda0f68 authored by Neal Norwitz's avatar Neal Norwitz

Fix warning about ptsname not being a prototype on Solaris. Is this prototype...

Fix warning about ptsname not being a prototype on Solaris.  Is this prototype even necessary anymore?
parent f8f669a3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment