Kaydet (Commit) 84a98e07 authored tarafından 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?
üst 14bc4e4d
......@@ -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