diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 18:08:26 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 18:08:26 (GMT) |
commit | 528b54b2637ca2a0d96f1b597d50aa24f789e303 (patch) | |
tree | 5360d51e5e08ac823b822c8ac372317aa6edd4db /Include | |
parent | 61f996b26a27d62ea48e550c774f562ec96fa3ab (diff) | |
parent | 86838b02f04a01445778584afb7acd0b05081335 (diff) | |
download | cpython-528b54b2637ca2a0d96f1b597d50aa24f789e303.zip cpython-528b54b2637ca2a0d96f1b597d50aa24f789e303.tar.gz cpython-528b54b2637ca2a0d96f1b597d50aa24f789e303.tar.bz2 |
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pygetopt.h | 2 | ||||
-rw-r--r-- | Include/pythonrun.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Include/pygetopt.h b/Include/pygetopt.h index 4de8c00..425c7dd 100644 --- a/Include/pygetopt.h +++ b/Include/pygetopt.h @@ -9,6 +9,8 @@ extern "C" { PyAPI_DATA(int) _PyOS_opterr; PyAPI_DATA(int) _PyOS_optind; PyAPI_DATA(wchar_t *) _PyOS_optarg; + +PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); #endif PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring); diff --git a/Include/pythonrun.h b/Include/pythonrun.h index eeba1b7..74ab986 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -193,6 +193,7 @@ PyAPI_FUNC(void) _PyImportHooks_Init(void); PyAPI_FUNC(int) _PyFrame_Init(void); PyAPI_FUNC(void) _PyFloat_Init(void); PyAPI_FUNC(int) PyByteArray_Init(void); +PyAPI_FUNC(void) _PyRandom_Init(void); #endif /* Various internal finalizers */ |