]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid compiler warnings.
authorNicholas Nethercote <njn@valgrind.org>
Sun, 8 May 2005 19:04:53 +0000 (19:04 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 8 May 2005 19:04:53 +0000 (19:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3642

memcheck/mc_main.c

index e8ceedbd771c9923baed1a062eff4fc291635e5f..37ca0b538cb0c2cd87f8365d6a1d4ebe72efb480 100644 (file)
@@ -1271,7 +1271,7 @@ void TL_(pp_Error) ( Error* err )
 /* Creates a copy of the `extra' part, updates the copy with address info if
    necessary, and returns the copy. */
 /* This one called from generated code and non-generated code. */
-void mc_record_value_error ( ThreadId tid, Int size )
+static void mc_record_value_error ( ThreadId tid, Int size )
 {
    MAC_Error err_extra;
 
@@ -1283,8 +1283,8 @@ void mc_record_value_error ( ThreadId tid, Int size )
 
 /* This called from non-generated code */
 
-void mc_record_user_error ( ThreadId tid, Addr a, Bool isWrite,
-                            Bool isUnaddr )
+static void mc_record_user_error ( ThreadId tid, Addr a, Bool isWrite,
+                                   Bool isUnaddr )
 {
    MAC_Error err_extra;