aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ast.h b/include/ast.h
index edbe70f..b14c26d 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -47,7 +47,7 @@ void ast_deinit(Ast *ast);
void funcdecl_init(FunctionDecl *self);
void funcdecl_deinit(FunctionDecl *self);
-WARN_UNUSED_RESULT int funcdecl_add_to_body(FunctionDecl *self, Ast ast);
+CHECK_RESULT int funcdecl_add_to_body(FunctionDecl *self, Ast ast);
void funccall_init(FunctionCall *self, BufferView name);