summaryrefslogtreecommitdiffstats
path: root/Include/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/token.h')
-rw-r--r--Include/token.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Include/token.h b/Include/token.h
index 4b25657..88ef3fc 100644
--- a/Include/token.h
+++ b/Include/token.h
@@ -1,9 +1,3 @@
-#ifndef Py_TOKEN_H
-#define Py_TOKEN_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
@@ -16,6 +10,12 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Token types */
+#ifndef Py_TOKEN_H
+#define Py_TOKEN_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define ENDMARKER 0
#define NAME 1
#define NUMBER 2
@@ -68,8 +68,8 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
extern DL_IMPORT(char *) _PyParser_TokenNames[]; /* Token names */
-extern DL_IMPORT(int) PyToken_OneChar Py_PROTO((int));
-extern DL_IMPORT(int) PyToken_TwoChars Py_PROTO((int, int));
+extern DL_IMPORT(int) PyToken_OneChar(int);
+extern DL_IMPORT(int) PyToken_TwoChars(int, int);
#ifdef __cplusplus
}