From 5ff17d6542684c146fbffd0d0509f925b34a17dc Mon Sep 17 00:00:00 2001 From: mchernosky Date: Fri, 26 Apr 2024 12:46:49 -0600 Subject: [PATCH] Label as static internal functions enabled by UNITY_USE_COMMAND_LINE_ARGS to prevent -Werror=missing-declarations --- src/unity.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unity.c b/src/unity.c index 7fd703ab..c91c3853 100644 --- a/src/unity.c +++ b/src/unity.c @@ -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;