Use inline for once-used function

This commit is contained in:
Arun Prakash Jana 2020-09-26 23:17:25 +05:30
parent 1d903a8c90
commit 627c5cfc36
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -1971,7 +1971,7 @@ static char *xgetenv(const char * const name, char *fallback)
}
/* Checks if an env variable is set to 1 */
static uint xgetenv_val(const char *name)
static inline uint xgetenv_val(const char *name)
{
char *str = getenv(name);