summaryrefslogtreecommitdiffstats
path: root/Include/pygetopt.h
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/pygetopt.h
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/pygetopt.h')
-rw-r--r--Include/pygetopt.h2
1 files changed, 2 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);