Skip to content

Commit

Permalink
Merge pull request #728 from mchernosky/fix-command-line-arg-build
Browse files Browse the repository at this point in the history
Fix build when UNITY_USE_COMMAND_LINE_ARGS is enabled
  • Loading branch information
mvandervoord authored Apr 26, 2024
2 parents 530364d + 5ff17d6 commit 25ca536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unity.c
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ int UnityParseOptions(int argc, char** argv)
}

/*-----------------------------------------------*/
int IsStringInBiggerString(const char* longstring, const char* shortstring)
static int IsStringInBiggerString(const char* longstring, const char* shortstring)
{
const char* lptr = longstring;
const char* sptr = shortstring;
Expand Down Expand Up @@ -2396,7 +2396,7 @@ int IsStringInBiggerString(const char* longstring, const char* shortstring)
}

/*-----------------------------------------------*/
int UnityStringArgumentMatches(const char* str)
static int UnityStringArgumentMatches(const char* str)
{
int retval;
const char* ptr1;
Expand Down

0 comments on commit 25ca536

Please sign in to comment.