mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue