Browse Source

Make once-used function inline

master
Arun Prakash Jana 4 years ago
parent
commit
a1ec2236d8
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

@@ -1765,7 +1765,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 bool xgetenv_set(const char *name)
static inline bool xgetenv_set(const char *name)
{ {
char *value = getenv(name); char *value = getenv(name);




Loading…
Cancel
Save