diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 19:42:48 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 19:42:48 (GMT) |
commit | cc3fa88a9c9c371a310673cfea3752a0beb25dac (patch) | |
tree | f0d922f2156b1b77d88f700becc0768508f8ef71 /Include | |
parent | a1b2af8034e1da367778de18872f7a1cddcc524e (diff) | |
download | cpython-cc3fa88a9c9c371a310673cfea3752a0beb25dac.zip cpython-cc3fa88a9c9c371a310673cfea3752a0beb25dac.tar.gz cpython-cc3fa88a9c9c371a310673cfea3752a0beb25dac.tar.bz2 |
Fix crash at startup with -W options.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pygetopt.h | 1 | ||||
-rw-r--r-- | Include/pythonrun.h | 1 |
2 files changed, 2 insertions, 0 deletions
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_opterr; 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 diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 7a29c08..6bfc175 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -128,6 +128,7 @@ PyAPI_FUNC(int) _PyInt_Init(void); PyAPI_FUNC(int) _PyLong_Init(void); PyAPI_FUNC(void) _PyFloat_Init(void); PyAPI_FUNC(int) PyByteArray_Init(void); +PyAPI_FUNC(void) _PyRandom_Init(void); /* Various internal finalizers */ PyAPI_FUNC(void) _PyExc_Fini(void); |