diff options
author | Christian Heimes <christian@cheimes.de> | 2013-07-22 16:34:28 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-07-22 16:34:28 +0200 |
commit | b2decdab33ce8b74051a8dcddfa409d7f9af8fb1 (patch) | |
tree | d58fc597874e0c5bb3e878ed2b446bcb606f5f04 /Python/importdl.h | |
parent | b69651179a1ac37b3e959a404388ce9fc1b273f8 (diff) | |
parent | edc97951e09d9ea20937dbddf4b0d9b09c6cb463 (diff) | |
download | cpython-b2decdab33ce8b74051a8dcddfa409d7f9af8fb1.tar.gz |
Some compilers complain about 'control reaches end of non-void function'
because they don't understand that Py_FatalError() terminates the program.
Diffstat (limited to 'Python/importdl.h')
-rw-r--r-- | Python/importdl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/importdl.h b/Python/importdl.h index 6b9cf750a4..6a51a91d2c 100644 --- a/Python/importdl.h +++ b/Python/importdl.h @@ -18,13 +18,8 @@ extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname, #include <windows.h> typedef FARPROC dl_funcptr; #else -#if defined(PYOS_OS2) && !defined(PYCC_GCC) -#include <os2def.h> -typedef int (* APIENTRY dl_funcptr)(); -#else typedef void (*dl_funcptr)(void); #endif -#endif #ifdef __cplusplus |