Skip to content

Commit

Permalink
Label as static internal functions enabled by UNITY_USE_COMMAND_LINE_…
Browse files Browse the repository at this point in the history
…ARGS to prevent

-Werror=missing-declarations
  • Loading branch information
mchernosky committed Apr 26, 2024
1 parent 530364d commit 5ff17d6
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 5ff17d6

Please sign in to comment.