[Python-checkins] r43164 - python/trunk/Modules/posixmodule.c

neal.norwitz python-checkins at python.org
Mon Mar 20 08:25:27 CET 2006


Author: neal.norwitz
Date: Mon Mar 20 08:25:26 2006
New Revision: 43164

Modified:
   python/trunk/Modules/posixmodule.c
Log:
The helper is only necessary for wait3/4.

Modified: python/trunk/Modules/posixmodule.c
==============================================================================
--- python/trunk/Modules/posixmodule.c	(original)
+++ python/trunk/Modules/posixmodule.c	Mon Mar 20 08:25:26 2006
@@ -5097,6 +5097,7 @@
 }
 #endif /* HAVE_SETGROUPS */
 
+#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
 static PyObject *
 wait_helper(int pid, int status, struct rusage *ru)
 {
@@ -5154,6 +5155,7 @@
 
 	return Py_BuildValue("iiO", pid, status, result);
 }
+#endif /* HAVE_WAIT3 || HAVE_WAIT4 */
 
 #ifdef HAVE_WAIT3
 PyDoc_STRVAR(posix_wait3__doc__,


More information about the Python-checkins mailing list