Przeglądaj źródła

Use inline for once-used function

master
Arun Prakash Jana 5 lat temu
rodzic
commit
627c5cfc36
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: A75979F35C080412
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c Wyświetl plik

@@ -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);



Ładowanie…
Anuluj
Zapisz