misc: eliminated some instances of trailing whitespace

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2023-01-22 00:00:00 -06:00 committed by Craig Small
parent 2532b5d2dd
commit f9afbabce7
3 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@
/* #include "safe-ctype.h" */ /* #include "safe-ctype.h" */
#include <ctype.h> #include <ctype.h>
/* /*
@deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2}) @deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2})
The @code{strverscmp} function compares the string @var{s1} against The @code{strverscmp} function compares the string @var{s1} against
@var{s2}, considering them as holding indices/version numbers. Return @var{s2}, considering them as holding indices/version numbers. Return
@ -144,14 +144,14 @@ strverscmp (const char *s1, const char *s2)
{ {
case CMP: case CMP:
return diff; return diff;
case LEN: case LEN:
while (isdigit (*p1++)) while (isdigit (*p1++))
if (!isdigit (*p2++)) if (!isdigit (*p2++))
return 1; return 1;
return isdigit (*p2) ? -1 : diff; return isdigit (*p2) ? -1 : diff;
default: default:
return state; return state;
} }

View File

@ -1256,7 +1256,7 @@ T}
drs DRS T{ drs DRS T{
data resident set size, the amount of private memory \fIreserved\fR by a process. 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 .B rss
but will always be included but will always be included
included in the included in the
@ -1278,12 +1278,12 @@ otherwise. (alias
T} T}
eip EIP 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. exiting or being core dumped.
T} T}
esp ESP 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. exiting or being core dumped.
T} T}

View File

@ -41,7 +41,7 @@ int main(int argc, char *argv[])
sleep_time = DEFAULT_SLEEPTIME; sleep_time = DEFAULT_SLEEPTIME;
while ((opt = getopt(argc, argv, "s:")) != -1) while ((opt = getopt(argc, argv, "s:")) != -1)
{ {
switch(opt) switch(opt)
{ {
case 's': case 's':