diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 19:03:47 +0100 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 19:03:47 +0100 |
| commit | 86838b02f04a01445778584afb7acd0b05081335 (patch) | |
| tree | e70c00698519271b4431d7aed8a339228b372f9f /Include | |
| parent | dbd3f6173a0dd15c97b60be56cc37ff1cf5487e5 (diff) | |
| download | cpython-git-86838b02f04a01445778584afb7acd0b05081335.tar.gz | |
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 4de8c0045d..425c7dd654 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 5054932596..e244ce713b 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -196,6 +196,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 */ |
