From: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sat, 13 Jun 2020 18:30:39 +0000 (+0530)
Subject: Make once-used function inline
X-Git-Tag: v3.3~33
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a1ec2236d8f48613b28f4bfe82e47d73f9423541;p=nnn.git

Make once-used function inline
---

diff --git a/src/nnn.c b/src/nnn.c
index 685e6e9a..1b3427e9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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);