ps: fix build breakage from vda's recent commit

*: whitespace fixes
This commit is contained in:
Denis Vlasenko
2008-01-07 16:13:14 +00:00
parent 4e9ca75281
commit 6b404431aa
9 changed files with 57 additions and 57 deletions

View File

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

View File

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

View File

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