Mark str2int as static

This commit is contained in:
Justin Ethier 2018-11-26 13:13:17 -05:00
parent 639d3b1438
commit 7ce70739b5

View file

@ -2105,7 +2105,7 @@ Convert string s to int out.
@return Indicates if the operation succeeded, or why it failed. @return Indicates if the operation succeeded, or why it failed.
*/ */
str2int_errno str2int(int *out, char *s, int base) static str2int_errno str2int(int *out, char *s, int base)
{ {
char *end; char *end;
if (s[0] == '\0' || isspace((unsigned char) s[0])) if (s[0] == '\0' || isspace((unsigned char) s[0]))