diff options
author | Jim Warner <james.warner@comcast.net> | 2023-01-22 00:00:00 -0600 |
---|---|---|
committer | Craig Small <csmall@dropbear.xyz> | 2023-01-24 12:15:19 +1100 |
commit | f9afbabce7bbe54de49d9c0e09e9c9084ab79971 (patch) | |
tree | 227ef71c84e56774a5cbbce512e81285e61c3a67 | |
parent | 2532b5d2ddf9158fdec488a25234155be6153aa5 (diff) | |
download | procps-ng-f9afbabce7bbe54de49d9c0e09e9c9084ab79971.tar.gz |
misc: eliminated some instances of trailing whitespace
Signed-off-by: Jim Warner <james.warner@comcast.net>
-rw-r--r-- | local/strverscmp.c | 8 | ||||
-rw-r--r-- | man/ps.1 | 6 | ||||
-rw-r--r-- | src/tests/test_shm.c | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/local/strverscmp.c b/local/strverscmp.c index 2d1b406..e71ecd0 100644 --- a/local/strverscmp.c +++ b/local/strverscmp.c @@ -22,7 +22,7 @@ /* #include "safe-ctype.h" */ #include <ctype.h> -/* +/* @deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2}) The @code{strverscmp} function compares the string @var{s1} against @var{s2}, considering them as holding indices/version numbers. Return @@ -144,14 +144,14 @@ strverscmp (const char *s1, const char *s2) { case CMP: return diff; - + case LEN: while (isdigit (*p1++)) if (!isdigit (*p2++)) return 1; - + return isdigit (*p2) ? -1 : diff; - + default: return state; } @@ -1256,7 +1256,7 @@ T} drs DRS T{ data resident set size, the amount of private memory \fIreserved\fR by a process. -It is also known as DATA. Such memory may not yet be mapped to +It is also known as DATA. Such memory may not yet be mapped to .B rss but will always be included included in the @@ -1278,12 +1278,12 @@ otherwise. (alias T} eip EIP T{ -instruction pointer. As of kernel 4.9.xx will be zeroed out unless task is +instruction pointer. As of kernel 4.9.xx will be zeroed out unless task is exiting or being core dumped. T} esp ESP T{ -stack pointer. As of kernel 4.9.xx will be zeroed out unless task is +stack pointer. As of kernel 4.9.xx will be zeroed out unless task is exiting or being core dumped. T} diff --git a/src/tests/test_shm.c b/src/tests/test_shm.c index 4906730..3917379 100644 --- a/src/tests/test_shm.c +++ b/src/tests/test_shm.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) sleep_time = DEFAULT_SLEEPTIME; while ((opt = getopt(argc, argv, "s:")) != -1) - { + { switch(opt) { case 's': |