[Python-checkins] cpython: Use ANSI C prototype instead of K&R style.

ross.lagerwall python-checkins at python.org
Wed Mar 7 19:07:23 CET 2012


http://hg.python.org/cpython/rev/e4c3a3a6371f
changeset:   75471:e4c3a3a6371f
user:        Ross Lagerwall <rosslagerwall at gmail.com>
date:        Wed Mar 07 20:06:33 2012 +0200
summary:
  Use ANSI C prototype instead of K&R style.

files:
  Modules/_posixsubprocess.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c
--- a/Modules/_posixsubprocess.c
+++ b/Modules/_posixsubprocess.c
@@ -80,7 +80,7 @@
  * that properly supports /dev/fd.
  */
 static int
-_is_fdescfs_mounted_on_dev_fd()
+_is_fdescfs_mounted_on_dev_fd(void)
 {
     struct stat dev_stat;
     struct stat dev_fd_stat;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list