summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 13:52:53 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-16 13:52:53 +0300
commita398afd690d9ef2ecc26c7f30c44d7db4592ef20 (patch)
treec2f7c97f86c2b2511556bf286519b4261f574852 /Python/importdl.h
parent8763c80a4bbca8a826ea8d081b1d2ee4d7bc33f5 (diff)
parent35c90237d68a40f031e88caee3cc14eb8949e9bf (diff)
downloadcpython-a398afd690d9ef2ecc26c7f30c44d7db4592ef20.tar.gz
Merge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h5
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