From 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 23:26:04 +0000 Subject: get it to compile with clang --- compiler_and_linker/FrontEnd/C/CScope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler_and_linker/FrontEnd') diff --git a/compiler_and_linker/FrontEnd/C/CScope.c b/compiler_and_linker/FrontEnd/C/CScope.c index a59a8a7..ef5695c 100644 --- a/compiler_and_linker/FrontEnd/C/CScope.c +++ b/compiler_and_linker/FrontEnd/C/CScope.c @@ -1364,7 +1364,7 @@ static Boolean CScope_FindQualifiedTag(CScopeParseResult *result, NameSpace *nsp return 0; } -inline void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace, CScopeParseResult *result) { +CW_INLINE void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace, CScopeParseResult *result) { // assumed name if (nspace->usings) { iterator->nspace = NULL; @@ -1376,7 +1376,7 @@ inline void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace, iterator->result = result; } -inline Boolean CScope_NSIteratorNext(CScopeNSIterator *iterator) { +CW_INLINE Boolean CScope_NSIteratorNext(CScopeNSIterator *iterator) { // assumed name if (iterator->lookup) return (iterator->lookup = iterator->lookup->next) != NULL; -- cgit v1.2.3