- fix: create stubs only for regular files (STATIC functions are treated as regular)

This commit is contained in:
2017-03-10 15:07:19 +00:00
parent e421f81375
commit ad2deb3b32

View File

@@ -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;
}