ps: fix build breakage from vda's recent commit
*: whitespace fixes
This commit is contained in:
@@ -70,9 +70,9 @@ int index_in_substrings(const char *strings, const char *key)
|
||||
|
||||
const char *nth_string(const char *strings, int n)
|
||||
{
|
||||
while (n) {
|
||||
n--;
|
||||
strings += strlen(strings) + 1;
|
||||
}
|
||||
return strings;
|
||||
while (n) {
|
||||
n--;
|
||||
strings += strlen(strings) + 1;
|
||||
}
|
||||
return strings;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
enum {
|
||||
/* We use int16_t for positions, need to limit line len */
|
||||
MAX_LINELEN = CONFIG_FEATURE_EDITING_MAX_LEN < 0x7ff0
|
||||
? CONFIG_FEATURE_EDITING_MAX_LEN
|
||||
? CONFIG_FEATURE_EDITING_MAX_LEN
|
||||
: 0x7ff0
|
||||
};
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ int ndelay_on(int fd)
|
||||
|
||||
int close_on_exec_on(int fd)
|
||||
{
|
||||
return fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||
return fcntl(fd, F_SETFD, FD_CLOEXEC);
|
||||
}
|
||||
|
||||
int ndelay_off(int fd)
|
||||
|
||||
Reference in New Issue
Block a user