Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore?

This commit is contained in:
Neal Norwitz 2006-04-10 07:44:23 +00:00
parent 14bc4e4d89
commit 84a98e07f5
1 changed files with 1 additions and 1 deletions

View File

@ -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