summaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorJim Warner <james.warner@comcast.net>2023-01-22 00:00:00 -0600
committerCraig Small <csmall@dropbear.xyz>2023-01-24 12:15:19 +1100
commitf9afbabce7bbe54de49d9c0e09e9c9084ab79971 (patch)
tree227ef71c84e56774a5cbbce512e81285e61c3a67 /local
parent2532b5d2ddf9158fdec488a25234155be6153aa5 (diff)
downloadprocps-ng-f9afbabce7bbe54de49d9c0e09e9c9084ab79971.tar.gz
misc: eliminated some instances of trailing whitespace
Signed-off-by: Jim Warner <james.warner@comcast.net>
Diffstat (limited to 'local')
-rw-r--r--local/strverscmp.c8
1 files changed, 4 insertions, 4 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;
}