commit | cc3fa88a9c9c371a310673cfea3752a0beb25dac | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Tue Feb 21 20:42:48 2012 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Tue Feb 21 20:42:48 2012 +0100 |
tree | f0d922f2156b1b77d88f700becc0768508f8ef71 | |
parent | a1b2af8034e1da367778de18872f7a1cddcc524e [diff] [blame] |
Fix crash at startup with -W options.
diff --git a/Include/pygetopt.h b/Include/pygetopt.h index 80908be..9860d36 100644 --- a/Include/pygetopt.h +++ b/Include/pygetopt.h
@@ -9,6 +9,7 @@ PyAPI_DATA(int) _PyOS_optind; PyAPI_DATA(char *) _PyOS_optarg; +PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); #ifdef __cplusplus