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

View file

@ -1971,7 +1971,7 @@ static char *xgetenv(const char * const name, char *fallback)
} }
/* Checks if an env variable is set to 1 */ /* 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); char *str = getenv(name);