summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-21 18:08:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-21 18:08:26 (GMT)
commit528b54b2637ca2a0d96f1b597d50aa24f789e303 (patch)
tree5360d51e5e08ac823b822c8ac372317aa6edd4db /Include
parent61f996b26a27d62ea48e550c774f562ec96fa3ab (diff)
parent86838b02f04a01445778584afb7acd0b05081335 (diff)
downloadcpython-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.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 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 */