From: Michael W. Hudson Date: Thu, 17 Jul 2003 16:26:58 +0000 (+0000) Subject: Remove inaccurate (and it turns out, entirely superfluous) declarations of X-Git-Tag: v2.3c1~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afd43b55124e332fe0a8e495bef551ba7e49a69f;p=python Remove inaccurate (and it turns out, entirely superfluous) declarations of PyOS_InputHook and PyOS_ReadlineFunctionPointer). The inaccuracies were causing problems in framework builds on Mac OS X. --- diff --git a/Modules/readline.c b/Modules/readline.c index a07b04a9cf..64935c6efe 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -31,10 +31,6 @@ rl_completion_matches((x), ((rl_compentry_func_t *)(y))) #endif -/* Pointers needed from outside (but not declared in a header file). */ -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 */