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_errcontext.c b/coregrind/vg_errcontext.c
index f38ade6..ac7874b 100644
--- a/coregrind/vg_errcontext.c
+++ b/coregrind/vg_errcontext.c
@@ -459,7 +459,7 @@
#define VG_ISSPACE(ch) (((ch)==' ') || ((ch)=='\n') || ((ch)=='\t'))
-Bool VG_(getLine) ( Int fd, Char* buf, Int nBuf )
+Bool VG_(get_line) ( Int fd, Char* buf, Int nBuf )
{
Char ch;
Int n, i;
@@ -546,16 +546,16 @@
for (i = 0; i < VG_N_SUPP_CALLERS; i++) supp->caller[i] = NULL;
supp->skin_supp.string = supp->skin_supp.extra = NULL;
- eof = VG_(getLine) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, buf, N_BUF );
if (eof) break;
if (!STREQ(buf, "{")) goto syntax_error;
- eof = VG_(getLine) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, buf, N_BUF );
if (eof || STREQ(buf, "}")) goto syntax_error;
supp->sname = VG_(arena_strdup)(VG_AR_CORE, buf);
- eof = VG_(getLine) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, buf, N_BUF );
if (eof) goto syntax_error;
@@ -583,7 +583,7 @@
VG_(add_to_msg)(", '%s'", buf);
}
while (True) {
- eof = VG_(getLine) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, buf, N_BUF );
if (eof) goto syntax_error;
if (STREQ(buf, "}"))
break;
@@ -597,7 +597,7 @@
/* "i > 0" ensures at least one caller read. */
for (i = 0; i < VG_N_SUPP_CALLERS; i++) {
- eof = VG_(getLine) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, buf, N_BUF );
if (eof) goto syntax_error;
if (i > 0 && STREQ(buf, "}"))
break;
@@ -689,11 +689,11 @@
for (i = 0; su->caller[i] != NULL; i++) {
switch (su->caller_ty[i]) {
- case ObjName: if (VG_(stringMatch)(su->caller[i],
- caller_obj[i])) break;
+ case ObjName: if (VG_(string_match)(su->caller[i],
+ caller_obj[i])) break;
return False;
- case FunName: if (VG_(stringMatch)(su->caller[i],
- caller_fun[i])) break;
+ case FunName: if (VG_(string_match)(su->caller[i],
+ caller_fun[i])) break;
return False;
default: VG_(panic)("is_suppressible_error");
}