summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-21 18:03:47 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-21 18:03:47 (GMT)
commit86838b02f04a01445778584afb7acd0b05081335 (patch)
treee70c00698519271b4431d7aed8a339228b372f9f /Include
parentdbd3f6173a0dd15c97b60be56cc37ff1cf5487e5 (diff)
downloadcpython-86838b02f04a01445778584afb7acd0b05081335.zip
cpython-86838b02f04a01445778584afb7acd0b05081335.tar.gz
cpython-86838b02f04a01445778584afb7acd0b05081335.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.h2
-rw-r--r--Include/pythonrun.h1
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 5054932..e244ce7 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 */