Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22118)

Unified Diff: Modules/readline.c

Issue 24058: Compiler warning for readline extension (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Modules/readline.c Sat Apr 25 00:16:10 2015 +0200
+++ b/Modules/readline.c Sat Apr 25 23:12:34 2015 +0900
@@ -1062,7 +1062,7 @@
rl_callback_handler_remove();
}
-extern PyThreadState* _PyOS_ReadlineTState;
+PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
static char *
readline_until_enter_or_signal(const char *prompt, int *signal)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+