fix compiler warnings


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1823 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_mylibc.c b/coregrind/vg_mylibc.c
index 853d77b..a43fb18 100644
--- a/coregrind/vg_mylibc.c
+++ b/coregrind/vg_mylibc.c
@@ -1077,7 +1077,7 @@
    ------------------------------------------------------------------ */
 
 __attribute__ ((noreturn))
-static void report_and_quit ( Char* report )
+static void report_and_quit ( const Char* report )
 {
    VG_(pp_sched_status)();
    VG_(printf)("\n");
@@ -1093,8 +1093,8 @@
 }
 
 __attribute__ ((noreturn))
-static void assert_fail ( Char* expr, Char* name, Char* report,
-                          Char* file, Int line,   Char* fn )
+static void assert_fail ( const Char* expr, const Char* name, const Char* report,
+                          const Char* file, Int line, const Char* fn )
 {
    static Bool entered = False;
    if (entered) 
@@ -1105,13 +1105,13 @@
    report_and_quit(report);
 }
 
-void VG_(skin_assert_fail) ( Char* expr, Char* file, Int line, Char* fn )
+void VG_(skin_assert_fail) ( const Char* expr, const Char* file, Int line, const Char* fn )
 {
    assert_fail(expr, VG_(details).name, VG_(details).bug_reports_to, 
                file, line, fn);
 }
 
-void VG_(core_assert_fail) ( Char* expr, Char* file, Int line, Char* fn )
+void VG_(core_assert_fail) ( const Char* expr, const Char* file, Int line, const Char* fn )
 {
    assert_fail(expr, "valgrind", VG_EMAIL_ADDR, file, line, fn);
 }