From ad2deb3b32d8b698f54949752aeeef1cc85765f4 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Fri, 10 Mar 2017 15:07:19 +0000 Subject: [PATCH] - fix: create stubs only for regular files (STATIC functions are treated as regular) --- src/stubser/stubser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stubser/stubser.c b/src/stubser/stubser.c index fcc8c92..168f844 100644 --- a/src/stubser/stubser.c +++ b/src/stubser/stubser.c @@ -48,7 +48,7 @@ STATIC int8_t createStubFunctionBlock(FILE *aFile, FILE *aHeader, cfunction_t *a return -1; } - if (CFUNCTION_TYPE_REGULAR != aFunction->type && CFUNCTION_TYPE_STATIC != aFunction->type) + if (CFUNCTION_TYPE_REGULAR != aFunction->type) { return 1; }