]> granicus.if.org Git - procps-ng/commitdiff
misc: eliminated some instances of trailing whitespace
authorJim Warner <james.warner@comcast.net>
Sun, 22 Jan 2023 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Tue, 24 Jan 2023 01:15:19 +0000 (12:15 +1100)
Signed-off-by: Jim Warner <james.warner@comcast.net>
local/strverscmp.c
man/ps.1
src/tests/test_shm.c

index 2d1b4066da95a0062b29e38176274e0b3f629f1e..e71ecd098f0cfe10ceb1ba1773fe3ac677dce519 100644 (file)
@@ -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;
     }
index 095425f40445a22ca090f9ff2594b7b2ee5ce8fa..382e9786c44fd87d6b09e7343bf0e1605aa267c6 100644 (file)
--- a/man/ps.1
+++ b/man/ps.1
@@ -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}
 
index 49067304f3ceba6c05a51b88c399adfd65a19be2..39173796283f569ed2f025eec53719697411855b 100644 (file)
@@ -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':