commit | 86838b02f04a01445778584afb7acd0b05081335 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Feb 21 19:03:47 2012 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Feb 21 19:03:47 2012 +0100 |
tree | e70c00698519271b4431d7aed8a339228b372f9f | |
parent | dbd3f6173a0dd15c97b60be56cc37ff1cf5487e5 [diff] [blame] |
Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
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 @@ 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);