4d1e38588ee18350611bbe576a7ceb91d5812e65
angie
  Tue Apr 16 14:01:29 2019 -0700
Added const to declarations of some char * function params that are not modified, so I can use const in calling routines.

diff --git src/lib/common.c src/lib/common.c
index ac691e5..fc8de98 100644
--- src/lib/common.c
+++ src/lib/common.c
@@ -2161,48 +2161,48 @@
     char *beyond = NULL;
     if (delimit == ' ')
         return skipLeadingSpaces(skipToSpaces(s));
     else
         beyond = strchr(s,delimit);
     if (beyond != NULL)
         {
         for (beyond++;*beyond == delimit;beyond++) ;
         if (*beyond != '\0')
             return beyond;
         }
     }
 return NULL;
 }
 
-char *skipLeadingSpaces(char *s)
+char *skipLeadingSpaces(const char *stringIn)
 /* Return first non-white space. */
 {
-char c;
+char c, *s = (char *)stringIn;
 if (s == NULL) return NULL;
 for (;;)
     {
     c = *s;
     if (!isspace(c))
 	return s;
     ++s;
     }
 }
 
-char *skipToSpaces(char *s)
+char *skipToSpaces(const char *stringIn)
 /* Return first white space or NULL if none.. */
 {
-char c;
+char c, *s = (char *)stringIn;
 if (s == NULL)
     return NULL;
 for (;;)
     {
     c = *s;
     if (c == 0)
         return NULL;
     if (isspace(c))
 	return s;
     ++s;
     }
 }