diff options
author | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2012-11-23 16:17:43 +0000 |
---|---|---|
committer | florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2012-11-23 16:17:43 +0000 |
commit | 6bd9dc18c043927c1196caba20a327238a179c42 (patch) | |
tree | dff76243a7d14bf9cc991aba104f6d02173b23ff /include/pub_tool_libcfile.h | |
parent | ad1162a84db887c997c766234f36dcecd5c926a1 (diff) | |
download | valgrind-6bd9dc18c043927c1196caba20a327238a179c42.tar.gz |
Changes to allow compilation with -Wwrite-strings. That compiler option
is not used for testcases, just for valgrind proper.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13137 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 b9acc1c69..3b4d7cef7 100644 --- a/include/pub_tool_libcfile.h +++ b/include/pub_tool_libcfile.h @@ -91,8 +91,8 @@ extern Int VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout); extern Int VG_(readlink)( const HChar* path, HChar* buf, UInt bufsize ); extern Int VG_(getdents)( Int fd, struct vki_dirent *dirp, UInt count ); -extern HChar* VG_(basename)( const HChar* path ); -extern HChar* VG_(dirname) ( const HChar* path ); +extern const HChar* VG_(basename)( const HChar* path ); +extern const HChar* VG_(dirname) ( const HChar* path ); /* Return the name of a directory for temporary files. */ extern const HChar* VG_(tmpdir)(void); |