diff options
author | Fred Drake <fdrake@acm.org> | 2000-07-09 00:55:06 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-07-09 00:55:06 (GMT) |
commit | 3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec (patch) | |
tree | f4ad8a294b76cbf0f43823163a2eac21be7334c6 /Include/token.h | |
parent | ea9cb5aebf38741871ad4f28971dcd23ddd77ad2 (diff) | |
download | cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.zip cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.gz cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.bz2 |
ANSI-fication and Py_PROTO extermination.
Diffstat (limited to 'Include/token.h')
-rw-r--r-- | Include/token.h | 16 |
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 } |