[Python-checkins] CVS: python/dist/src/PC/utils makesrc.c,1.1,1.2

Thomas Wouters python-dev@python.org
2000年7月22日 12:25:54 -0700


Update of /cvsroot/python/python/dist/src/PC/utils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv24717/PC/utils
Modified Files:
	makesrc.c 
Log Message:
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
Index: makesrc.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/utils/makesrc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** makesrc.c	1996年06月28日 19:10:43	1.1
--- makesrc.c	2000年07月22日 19:25:51	1.2
***************
*** 8,12 ****
 char *usage = "You must be in the \"pc\" directory.\n";
 char *list[] = {"..\\Include", "..\\Modules", "..\\Objects", "..\\Parser", "..\\Python", ".", 0};
! main()
 {
 DIR *dpath;
--- 8,14 ----
 char *usage = "You must be in the \"pc\" directory.\n";
 char *list[] = {"..\\Include", "..\\Modules", "..\\Objects", "..\\Parser", "..\\Python", ".", 0};
! 
! int
! main(int argc, char ** argv)
 {
 DIR *dpath;
***************
*** 65,67 ****
 }
 return 0;
! }
--- 67,69 ----
 }
 return 0;
! }

AltStyle によって変換されたページ (->オリジナル) /