mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Make once-used function inline
This commit is contained in:
parent
d92cecba6c
commit
a1ec2236d8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue