[Python-checkins] cpython (2.7): remove extern definition, since it's in a header file (closes #24058)
benjamin.peterson
python-checkins at python.org
Sun Apr 26 21:56:27 CEST 2015
https://hg.python.org/cpython/rev/192f9efe4a38
changeset: 95814:192f9efe4a38
branch: 2.7
parent: 95809:050e0c0b3d90
user: Benjamin Peterson <benjamin at python.org>
date: Sun Apr 26 15:55:06 2015 -0400
summary:
remove extern definition, since it's in a header file (closes #24058)
files:
Modules/readline.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Modules/readline.c b/Modules/readline.c
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -975,8 +975,6 @@
rl_callback_handler_remove();
}
-extern PyThreadState* _PyOS_ReadlineTState;
-
static char *
readline_until_enter_or_signal(char *prompt, int *signal)
{
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list