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 | 776af4002bb6edf6071f0b82f0354ed7b218695e (patch) | |
| tree | db9510e763e2476783eb331b9a6fb396995bc815 /Include | |
| parent | 876e789f650a68b1fe05be7060794357cf13e3d3 (diff) | |
| download | cpython-git-776af4002bb6edf6071f0b82f0354ed7b218695e.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 74024c1068..97d9b77cd2 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -125,6 +125,7 @@ PyAPI_FUNC(int) _PyFrame_Init(void); PyAPI_FUNC(int) _PyInt_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); |
