Browse Source

Use inline for once-used function

master
Arun Prakash Jana 4 years ago
parent
commit
627c5cfc36
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -1971,7 +1971,7 @@ static char *xgetenv(const char * const name, char *fallback)
} }


/* Checks if an env variable is set to 1 */ /* 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); char *str = getenv(name);




Loading…
Cancel
Save