diff options
| author | 2020-09-26 23:17:25 +0530 | |
|---|---|---|
| committer | 2020-09-26 23:17:25 +0530 | |
| commit | 627c5cfc36461dc20f1e8c903148324fa15b063b (patch) | |
| tree | ad43da88ef51160991773869ab89b360c5670e08 | |
| parent | 1d903a8c903f2f86bb32bb4d0983738765fcf68d (diff) | |
| download | nnn-627c5cfc36461dc20f1e8c903148324fa15b063b.tar.gz | |
Use inline for once-used function
| -rw-r--r-- | src/nnn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |