diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/bz2module.c | 2 | ||||
-rw-r--r-- | Modules/readline.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index 83582bd..408c736 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -2167,7 +2167,7 @@ interface, one shot (de)compression functions, and types for\n\ sequential (de)compression.\n\ "); -DL_EXPORT(void) +PyMODINIT_FUNC initbz2(void) { PyObject *m; diff --git a/Modules/readline.c b/Modules/readline.c index bc8562e..a07b04a 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -32,8 +32,8 @@ #endif /* Pointers needed from outside (but not declared in a header file). */ -extern DL_IMPORT(int) (*PyOS_InputHook)(void); -extern DL_IMPORT(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *,char *); +PyAPI_FUNC(int) (*PyOS_InputHook)(void); +PyAPI_FUNC(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *,char *); /* Exported function to send one line to readline's init file parser */ |