ANSI-fication and Py_PROTO extermination.
diff --git a/Include/parsetok.h b/Include/parsetok.h
index 151990d..5244e3f 100644
--- a/Include/parsetok.h
+++ b/Include/parsetok.h
@@ -1,9 +1,3 @@
-#ifndef Py_PARSETOK_H
-#define Py_PARSETOK_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
@@ -16,17 +10,24 @@
/* Parser-tokenizer link interface */
+#ifndef Py_PARSETOK_H
+#define Py_PARSETOK_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
- int error;
- char *filename;
- int lineno;
- int offset;
- char *text;
+ int error;
+ char *filename;
+ int lineno;
+ int offset;
+ char *text;
} perrdetail;
-extern DL_IMPORT(node *) PyParser_ParseString Py_PROTO((char *, grammar *, int, perrdetail *));
-extern DL_IMPORT(node *) PyParser_ParseFile Py_PROTO((FILE *, char *, grammar *, int,
- char *, char *, perrdetail *));
+extern DL_IMPORT(node *) PyParser_ParseString(char *, grammar *, int,
+ perrdetail *);
+extern DL_IMPORT(node *) PyParser_ParseFile (FILE *, char *, grammar *, int,
+ char *, char *, perrdetail *);
#ifdef __cplusplus
}