From 3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sun, 9 Jul 2000 00:55:06 +0000 Subject: ANSI-fication and Py_PROTO extermination. --- Include/token.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Include/token.h') diff --git a/Include/token.h b/Include/token.h index 4b256576af..88ef3fcb6c 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 } -- cgit v1.2.1