diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-20 04:22:42 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-20 04:22:42 +0000 |
commit | 63e5e6e0b018efe4194daf8f6a8d43ceaa36933b (patch) | |
tree | f1c861268ea2a44f3e682a6338410807ec7c9f7d /include/pub_tool_libcfile.h | |
parent | f11335aa35e73f6903063a2fa7368dd5046241a0 (diff) | |
download | valgrind-63e5e6e0b018efe4194daf8f6a8d43ceaa36933b.tar.gz |
DARWIN sync: add some 'const' attributes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10022 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r-- | include/pub_tool_libcfile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h index ad1fd04dc..916b431b5 100644 --- a/include/pub_tool_libcfile.h +++ b/include/pub_tool_libcfile.h @@ -79,10 +79,10 @@ extern SysRes VG_(stat) ( const Char* file_name, struct vg_stat* buf ); extern Int VG_(fstat) ( Int fd, struct vg_stat* buf ); extern SysRes VG_(dup) ( Int oldfd ); extern SysRes VG_(dup2) ( Int oldfd, Int newfd ); -extern Int VG_(rename) ( Char* old_name, Char* new_name ); -extern Int VG_(unlink) ( Char* file_name ); +extern Int VG_(rename) ( const Char* old_name, const Char* new_name ); +extern Int VG_(unlink) ( const Char* file_name ); -extern Int VG_(readlink)( Char* path, Char* buf, UInt bufsize ); +extern Int VG_(readlink)( const Char* path, Char* buf, UInt bufsize ); extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count ); /* Copy the working directory at startup into buf[0 .. size-1], or return |