src/lib/common.c 1.137
1.137 2009/11/20 17:44:45 angie
Added a couple const keywords for smoother interoperation with external code.
Index: src/lib/common.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/common.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -b -B -U 4 -r1.136 -r1.137
--- src/lib/common.c 12 Nov 2009 19:33:54 -0000 1.136
+++ src/lib/common.c 20 Nov 2009 17:44:45 -0000 1.137
@@ -958,9 +958,9 @@
else
return strcmp(a,b) != 0;
}
-boolean startsWith(char *start,char *string)
+boolean startsWith(const char *start, const char *string)
/* Returns TRUE if string begins with start. */
{
char c;
int i;