This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Use inline for once-used function
master
Arun Prakash Jana
4 years ago
parent
1d903a8c90
commit
627c5cfc36
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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 */
static uint xgetenv_val(const char *name)
static
inline
uint xgetenv_val(const char *name)
{
char *str = getenv(name);
Write
Preview
Loading…
Cancel
Save