summaryrefslogtreecommitdiff
path: root/gcc/python/py-builtins.c
diff options
context:
space:
mode:
authorredbrain <redbrain@gcc.gnu.org>2011-07-04 12:24:35 +0100
committerredbrain <redbrain@gcc.gnu.org>2011-07-04 12:24:35 +0100
commitad0e954fcba497d3f644404bb88eb49e2c9dae4f (patch)
treee3312660be065d22f055b93e17ed398b1c03a6c8 /gcc/python/py-builtins.c
parente4417637d94bfa5c846e556510f2b518cedb1886 (diff)
downloadgcc-python.tar.gz
it compiles nowpython
Diffstat (limited to 'gcc/python/py-builtins.c')
-rw-r--r--gcc/python/py-builtins.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/python/py-builtins.c b/gcc/python/py-builtins.c
index c4af0d12806..b65e232fe38 100644
--- a/gcc/python/py-builtins.c
+++ b/gcc/python/py-builtins.c
@@ -48,17 +48,17 @@ static tree gpy_build_py_object_type (void);
tree gpy_builtin_get_init_call (void)
{
- tree fntype = build_function_type( void_type_node, void_list_node );
- tree gpy_rr_init = build_decl( UNKNOWN_LOCATION, FUNCTION_DECL,
+ tree fntype = build_function_type (void_type_node, void_list_node);
+ tree gpy_rr_init = build_decl (UNKNOWN_LOCATION, FUNCTION_DECL,
get_identifier("gpy_rr_init_runtime"),
- fntype );
- tree restype = TREE_TYPE(gpy_rr_init);
- tree resdecl = build_decl( UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE,
- restype );
- DECL_CONTEXT(resdecl) = gpy_rr_init;
- DECL_RESULT(gpy_rr_init) = resdecl;
- DECL_EXTERNAL( gpy_rr_init ) = 1;
- TREE_PUBLIC( gpy_rr_init ) = 1;
+ fntype);
+ tree restype = TREE_TYPE (gpy_rr_init);
+ tree resdecl = build_decl (UNKNOWN_LOCATION, RESULT_DECL, NULL_TREE,
+ restype);
+ DECL_CONTEXT (resdecl) = gpy_rr_init;
+ DECL_RESULT (gpy_rr_init) = resdecl;
+ DECL_EXTERNAL (gpy_rr_init) = 1;
+ TREE_PUBLIC (gpy_rr_init) = 1;
return build_call_expr (gpy_rr_init, 0, NULL_TREE);
}