src/hg/lib/cart.c 1.113

1.113 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/hg/lib/cart.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/cart.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -b -B -U 4 -r1.112 -r1.113
--- src/hg/lib/cart.c	28 Aug 2009 00:54:54 -0000	1.112
+++ src/hg/lib/cart.c	20 Nov 2009 19:11:16 -0000	1.113
@@ -1097,9 +1097,9 @@
 return name;
 }
 
 static struct hashEl *cartFindSome(struct cart *cart, char *pattern,
-	boolean (*match)(char *a, char *b))
+	boolean (*match)(const char *a, const char *b))
 /* Return list of name/val pairs from cart where name matches
  * pattern.  Free when done with hashElFreeList. */
 {
 struct hashEl *el, *next, *elList = hashElListHash(cart->hash);