[Python-checkins] python/dist/src/Modules zipimport.c,1.11,1.12
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Sun, 23 Mar 2003 05:21:05 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv9458/Modules
Modified Files:
zipimport.c
Log Message:
Make private function and data static.
Index: zipimport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zipimport.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** zipimport.c 28 Feb 2003 08:54:01 -0000 1.11
--- zipimport.c 23 Mar 2003 13:21:03 -0000 1.12
***************
*** 21,25 ****
are swapped by initzipimport() if we run in optimized mode. Also,
'/' is replaced by SEP there. */
! struct st_zip_searchorder zip_searchorder[] = {
{"/__init__.pyc", IS_PACKAGE | IS_BYTECODE},
{"/__init__.pyo", IS_PACKAGE | IS_BYTECODE},
--- 21,25 ----
are swapped by initzipimport() if we run in optimized mode. Also,
'/' is replaced by SEP there. */
! static struct st_zip_searchorder zip_searchorder[] = {
{"/__init__.pyc", IS_PACKAGE | IS_BYTECODE},
{"/__init__.pyo", IS_PACKAGE | IS_BYTECODE},
***************
*** 983,987 ****
/* Convert the date/time values found in the Zip archive to a value
that's compatible with the time stamp stored in .pyc files. */
! time_t parse_dostime(int dostime, int dosdate)
{
struct tm stm;
--- 983,988 ----
/* Convert the date/time values found in the Zip archive to a value
that's compatible with the time stamp stored in .pyc files. */
! static time_t
! parse_dostime(int dostime, int dosdate)
{
struct tm stm;