Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
diff --git a/Parser/myreadline.c b/Parser/myreadline.c
index 37ee902..24bb18c 100644
--- a/Parser/myreadline.c
+++ b/Parser/myreadline.c
@@ -51,7 +51,7 @@
#include "mymalloc.h"
#include "intrcheck.h"
-int (*Py_input_hook)() = NULL;
+int (*PyOS_InputHook)() = NULL;
/* This function restarts a fgets() after an EINTR error occurred
except if PyOS_InterruptOccurred() returns true. */
@@ -64,8 +64,8 @@
{
char *p;
for (;;) {
- if (Py_input_hook != NULL)
- (void)(Py_input_hook)();
+ if (PyOS_InputHook != NULL)
+ (void)(PyOS_InputHook)();
errno = 0;
p = fgets(buf, len, fp);
if (p != NULL)