summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
commitbd4bc4e9e947617def66780efbbea4eb08990e56 (patch)
tree7130e24f3bf2919bf47ff717ac674023816369c7 /Modules/posixmodule.c
parent3b6448fbae16564484a40efa7f418fba02755625 (diff)
downloadcpython-bd4bc4e9e947617def66780efbbea4eb08990e56.zip
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.gz
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.bz2
Even more ANSIfication: fix as many function pointers and declarations as
possible.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index c22be54..fef4bbb 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -130,11 +130,11 @@ corresponding Unix manual entries for more information on calls.";
#ifdef HAVE_UNISTD_H
/* XXX These are for SunOS4.1.3 but shouldn't hurt elsewhere */
-extern int rename();
-extern int pclose();
-extern int lstat();
-extern int symlink();
-extern int fsync();
+extern int rename(const char *, const char *);
+extern int pclose(FILE *);
+extern int lstat(const char *, struct stat *);
+extern int symlink(const char *, const char *);
+extern int fsync(int fd);
#else /* !HAVE_UNISTD_H */
#if defined(PYCC_VACPP)
extern int mkdir(char *);