aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-09-26 23:17:25 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-09-26 23:17:25 +0530
commit627c5cfc36461dc20f1e8c903148324fa15b063b (patch)
treead43da88ef51160991773869ab89b360c5670e08 /src
parent1d903a8c903f2f86bb32bb4d0983738765fcf68d (diff)
downloadnnn-627c5cfc36461dc20f1e8c903148324fa15b063b.tar.gz
Use inline for once-used function
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6688ad9..82a80eb 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);