From 627c5cfc36461dc20f1e8c903148324fa15b063b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 26 Sep 2020 23:17:25 +0530 Subject: [PATCH] Use inline for once-used function --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 6688ad91..82a80eb8 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -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);