From 5f8d31419f593464bbaaffe423cb489858f4379e Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 7 Apr 2009 12:14:19 +0000 Subject: [PATCH] - BugFix: use CC_DEFAULT as the default calling convention, NOT CDECL [r25815] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 8309d4c..c221ff8 100644 --- a/parser.c +++ b/parser.c @@ -3725,7 +3725,7 @@ static construct_type_t *parse_function_declarator(scope_t *scope) function_type_t *ftype = &type->function; ftype->linkage = current_linkage; - ftype->calling_convention = CC_CDECL; + ftype->calling_convention = CC_DEFAULT; parse_parameters(ftype, scope); -- 2.20.1