DARWIN sync: add some 'const' attributes.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10022 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/pub_core_libcfile.h b/coregrind/pub_core_libcfile.h
index 4ff074f..0807778 100644
--- a/coregrind/pub_core_libcfile.h
+++ b/coregrind/pub_core_libcfile.h
@@ -50,7 +50,7 @@
 extern Long VG_(fsize) ( Int fd );
 
 /* Is the file a directory? */
-extern Bool VG_(is_dir) ( HChar* f );
+extern Bool VG_(is_dir) ( const HChar* f );
 
 /* Default destination port to be used in logging over a network, if
    none specified. */
@@ -68,11 +68,12 @@
 extern Int VG_(getsockopt)  ( Int sd, Int level, Int optname, void *optval,
                               Int *optlen );
 
-extern Int VG_(access) ( HChar* path, Bool irusr, Bool iwusr, Bool ixusr );
+extern Int VG_(access) ( const HChar* path, Bool irusr, Bool iwusr,
+                                            Bool ixusr );
 
 /* Is the file executable?  Returns: 0 = success, non-0 is failure */
 extern Int VG_(check_executable)(/*OUT*/Bool* is_setuid,
-                                 HChar* f, Bool allow_setuid);
+                                 const HChar* f, Bool allow_setuid);
 
 /* Note this moves (or at least, is believed to move) the file pointer
    on Linux and AIX5 but doesn't on Darwin.  This inconsistency should