mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-05-17 23:47:11 +08:00
Label as static internal functions enabled by UNITY_USE_COMMAND_LINE_ARGS to prevent
-Werror=missing-declarations
This commit is contained in:
@ -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;
|
||||
@ -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;
|
||||
|
Reference in New Issue
Block a user