Converted all functions visible from vg_skin.h with names in CamelCaps to
use_under_scores instead, to be consistent.
Also added some missing 'extern's on function declarations in vg_skin.h.
Also added a quick note in vg_regtest.in on the simplest way to run regression
tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1135 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c
index 3fe6032..25388ca 100644
--- a/coregrind/vg_mylibc.c
+++ b/coregrind/vg_mylibc.c
@@ -932,7 +932,7 @@
/* Keep track of recursion depth. */
static Int recDepth;
-static Bool stringMatch_wrk ( Char* pat, Char* str )
+static Bool string_match_wrk ( Char* pat, Char* str )
{
vg_assert(recDepth >= 0 && recDepth < 250);
recDepth++;
@@ -940,7 +940,7 @@
switch (*pat) {
case '\0' : return (*str=='\0');
case '*' : do {
- if (stringMatch_wrk(pat+1,str)) {
+ if (string_match_wrk(pat+1,str)) {
recDepth--;
return True;
}
@@ -967,11 +967,11 @@
}
}
-Bool VG_(stringMatch) ( Char* pat, Char* str )
+Bool VG_(string_match) ( Char* pat, Char* str )
{
Bool b;
recDepth = 0;
- b = stringMatch_wrk ( pat, str );
+ b = string_match_wrk ( pat, str );
/*
VG_(printf)("%s %s %s\n",
b?"TRUE ":"FALSE", pat, str);