summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-07-01 20:15:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-07-01 20:15:21 (GMT)
commit21d896cfa1646a1da4e0ead57db9defc2ade397c (patch)
treebf71a5632709fe09a2990ff128b3118444482584 /Modules/readline.c
parent59aba128a5266a944d9773f7223f25b164372146 (diff)
downloadcpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.zip
cpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.tar.gz
cpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.tar.bz2
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c4
1 files changed, 2 insertions, 2 deletions
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 */