diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-18 02:12:08 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-05-18 02:12:08 +0000 |
commit | cda2f0fbda4c4b2644babc830244be8aed95de1d (patch) | |
tree | c78eca73df999f28d009f547b4b6f99ec990d1f8 /include/pub_tool_libcfile.h | |
parent | 7f08c73f29b0bd8f23c1fc6d1e88ab44e2352160 (diff) | |
download | valgrind-cda2f0fbda4c4b2644babc830244be8aed95de1d.tar.gz |
Merged non-Darwin-specific parts of r9397,r9423,r9490, 9461, 9462 from the
DARWIN branch. A big ugly DARWIN/trunk sync commit, mostly to do with
changing the representation of SysRes and vki_sigset_t. Functionality of
the trunk shouldn't be changed by it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9876 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_libcfile.h')
-rw-r--r-- | include/pub_tool_libcfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pub_tool_libcfile.h b/include/pub_tool_libcfile.h index f870109f3..63fb0b39a 100644 --- a/include/pub_tool_libcfile.h +++ b/include/pub_tool_libcfile.h @@ -70,7 +70,7 @@ extern Int VG_(write) ( Int fd, const void* buf, Int count); extern Int VG_(pipe) ( Int fd[2] ); extern OffT VG_(lseek) ( Int fd, OffT offset, Int whence ); -extern SysRes VG_(stat) ( Char* file_name, struct vg_stat* buf ); +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 ); @@ -78,7 +78,7 @@ extern Int VG_(rename) ( Char* old_name, Char* new_name ); extern Int VG_(unlink) ( Char* file_name ); extern Int VG_(readlink)( Char* path, Char* buf, UInt bufsize ); -extern Int VG_(getdents)( UInt fd, struct vki_dirent *dirp, UInt count ); +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 False if buf is too small. */ |