diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 20:42:48 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-21 20:42:48 +0100 |
commit | dfd0efbf09c9eec43711160303a03dcb039a8596 (patch) | |
tree | 0fedabce24683b4c0aabc246171c63b8a518c42e /Include | |
parent | 19f07cabcbe590961240b188bb378084470b9878 (diff) | |
download | cpython-dfd0efbf09c9eec43711160303a03dcb039a8596.tar.gz |
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 80908bea98..9860d360e1 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 7a29c085f6..6bfc175050 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); |