mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Make private function and data static.
This commit is contained in:
parent
bf9b24464e
commit
29fd2baf82
1 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ struct st_zip_searchorder {
|
||||||
non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
|
non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
|
||||||
are swapped by initzipimport() if we run in optimized mode. Also,
|
are swapped by initzipimport() if we run in optimized mode. Also,
|
||||||
'/' is replaced by SEP there. */
|
'/' 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__.pyc", IS_PACKAGE | IS_BYTECODE},
|
||||||
{"/__init__.pyo", IS_PACKAGE | IS_BYTECODE},
|
{"/__init__.pyo", IS_PACKAGE | IS_BYTECODE},
|
||||||
{"/__init__.py", IS_PACKAGE | IS_SOURCE},
|
{"/__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
|
/* Convert the date/time values found in the Zip archive to a value
|
||||||
that's compatible with the time stamp stored in .pyc files. */
|
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;
|
struct tm stm;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue