diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-10 07:44:23 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-10 07:44:23 (GMT) |
commit | 84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2 (patch) | |
tree | 35a4057d2730bb062327d93b0e21799a70ddc0ad /Modules/posixmodule.c | |
parent | 14bc4e4d89c46ff418abdd84929fc5832b0a505f (diff) | |
download | cpython-84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2.zip cpython-84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2.tar.gz cpython-84a98e07f5e754f14c07f46ed9bfd3bbc8769ee2.tar.bz2 |
Fix warning about ptsname not being a prototype on Solaris. Is this prototype even necessary anymore?
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 84e4637..bc96681 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 |