diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-23 13:21:03 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-23 13:21:03 (GMT) |
commit | 29fd2baf82977e66f3ad3869e3d62f12e2200678 (patch) | |
tree | 62d57755dd153b715ffa74363ed275427844f9d6 /Modules/zipimport.c | |
parent | bf9b24464e11d9db2980c018f4d67b50b3573903 (diff) | |
download | cpython-29fd2baf82977e66f3ad3869e3d62f12e2200678.zip cpython-29fd2baf82977e66f3ad3869e3d62f12e2200678.tar.gz cpython-29fd2baf82977e66f3ad3869e3d62f12e2200678.tar.bz2 |
Make private function and data static.
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index cd615ef..94eeabd 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -20,7 +20,7 @@ struct st_zip_searchorder { non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries are swapped by initzipimport() if we run in optimized mode. Also, '/' is replaced by SEP there. */ -struct st_zip_searchorder zip_searchorder[] = { +static struct st_zip_searchorder zip_searchorder[] = { {"/__init__.pyc", IS_PACKAGE | IS_BYTECODE}, {"/__init__.pyo", IS_PACKAGE | IS_BYTECODE}, {"/__init__.py", IS_PACKAGE | IS_SOURCE}, @@ -982,7 +982,8 @@ compile_source(char *pathname, PyObject *source) /* 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) +static time_t +parse_dostime(int dostime, int dosdate) { struct tm stm; |