Make once-used function inline

This commit is contained in:
Arun Prakash Jana 2020-06-14 00:00:39 +05:30
parent d92cecba6c
commit a1ec2236d8
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -1765,7 +1765,7 @@ static char *xgetenv(const char * const name, char *fallback)
}
/* Checks if an env variable is set to 1 */
static bool xgetenv_set(const char *name)
static inline bool xgetenv_set(const char *name)
{
char *value = getenv(name);