summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-24 00:30:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-24 00:30:44 (GMT)
commit62c2fac9a0758f303c0382e459031a2679a056e2 (patch)
tree0c7822ce350fddf10e553e4f20958724e6358009 /Python/symtable.c
parent6ab080cd4017b0daa742be7b5ce1e78416922a79 (diff)
downloadcpython-62c2fac9a0758f303c0382e459031a2679a056e2.zip
cpython-62c2fac9a0758f303c0382e459031a2679a056e2.tar.gz
cpython-62c2fac9a0758f303c0382e459031a2679a056e2.tar.bz2
Do not pollute name block_ty, prefix with _Py_
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 46efe4b..28da563 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -12,7 +12,7 @@
"name '%.400s' is used prior to global declaration"
PySTEntryObject *
-PySTEntry_New(struct symtable *st, identifier name, block_ty block,
+PySTEntry_New(struct symtable *st, identifier name, _Py_block_ty block,
void *key, int lineno)
{
PySTEntryObject *ste = NULL;
@@ -153,7 +153,7 @@ PyTypeObject PySTEntry_Type = {
static int symtable_analyze(struct symtable *st);
static int symtable_warn(struct symtable *st, char *msg);
static int symtable_enter_block(struct symtable *st, identifier name,
- block_ty block, void *ast, int lineno);
+ _Py_block_ty block, void *ast, int lineno);
static int symtable_exit_block(struct symtable *st, void *ast);
static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
static int symtable_visit_expr(struct symtable *st, expr_ty s);
@@ -711,7 +711,7 @@ symtable_exit_block(struct symtable *st, void *ast)
}
static int
-symtable_enter_block(struct symtable *st, identifier name, block_ty block,
+symtable_enter_block(struct symtable *st, identifier name, _Py_block_ty block,
void *ast, int lineno)
{
PySTEntryObject *prev = NULL;