summaryrefslogtreecommitdiffstats
path: root/PC/utils
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 19:25:51 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 19:25:51 (GMT)
commit7889010731eec703eda68fb32b6805c65e3f1cbf (patch)
tree2ef252eeade1d3aae02fc8b881c9e6a0c5bb1e42 /PC/utils
parent23c9e0024af99379ae517b016b874d57127e9a97 (diff)
downloadcpython-7889010731eec703eda68fb32b6805c65e3f1cbf.zip
cpython-7889010731eec703eda68fb32b6805c65e3f1cbf.tar.gz
cpython-7889010731eec703eda68fb32b6805c65e3f1cbf.tar.bz2
Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
Diffstat (limited to 'PC/utils')
-rwxr-xr-xPC/utils/makesrc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/PC/utils/makesrc.c b/PC/utils/makesrc.c
index 883b4d8..458bfab 100755
--- a/PC/utils/makesrc.c
+++ b/PC/utils/makesrc.c
@@ -7,7 +7,9 @@ file names and #include names to 8x3 lower case */
char *usage = "You must be in the \"pc\" directory.\n";
char *list[] = {"..\\Include", "..\\Modules", "..\\Objects", "..\\Parser", "..\\Python", ".", 0};
-main()
+
+int
+main(int argc, char ** argv)
{
DIR *dpath;
struct dirent *dir;
@@ -64,4 +66,4 @@ main()
closedir(dpath);
}
return 0;
- }
+}