src/inc/common.h 1.161

1.161 2009/11/20 19:11:16 angie
Adding more const qualifiers because cart.c needs startsWith and wildMatch to have the same signature (thanks Galt!).
Index: src/inc/common.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.h,v
retrieving revision 1.160
retrieving revision 1.161
diff -b -B -U 4 -r1.160 -r1.161
--- src/inc/common.h	20 Nov 2009 17:44:45 -0000	1.160
+++ src/inc/common.h	20 Nov 2009 19:11:16 -0000	1.161
@@ -705,18 +705,18 @@
 
 char lastChar(char *s);
 /* Return last character in string. */
 
-boolean wildMatch(char *wildCard, char *string);
+boolean wildMatch(const char *wildCard, const char *string);
 /* does a case insensitive wild card match with a string.
  * * matches any string or no character.
  * ? matches any single character.
  * anything else etc must match the character exactly. */
 
 boolean sqlMatchLike(char *wildCard, char *string);
 /* Match using % and _ wildcards. */
 
-boolean anyWild(char *string);
+boolean anyWild(const char *string);
 /* Return TRUE if any wild card characters in string. */
 
 char *memMatch(char *needle, int nLen, char *haystack, int hLen);
 /* Returns first place where needle (of nLen chars) matches