X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=builtins.c;h=8f3982d87eb95faf30a4f520700e30f83c7003da;hb=a7d409e6727f11d1697f4997f79fc53c6b07dc14;hp=f49f74bfaeee22c7d9affe88317dfe06f5a1cfb6;hpb=a3d074138e09eb4b93de89bb8bccae1f5602b5a1;p=cparser diff --git a/builtins.c b/builtins.c index f49f74b..8f3982d 100644 --- a/builtins.c +++ b/builtins.c @@ -32,7 +32,7 @@ static entity_t *create_builtin_function(builtin_kind_t kind, symbol_t *symbol, type_t *function_type) { - entity_t *const entity = allocate_entity_zero(ENTITY_FUNCTION, NAMESPACE_NORMAL, symbol, &builtin_source_position); + entity_t *const entity = allocate_entity_zero(ENTITY_FUNCTION, NAMESPACE_NORMAL, symbol, &builtin_position); entity->declaration.storage_class = STORAGE_CLASS_EXTERN; entity->declaration.declared_storage_class = STORAGE_CLASS_EXTERN; entity->declaration.type = function_type;