aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_libcfile.h
diff options
context:
space:
mode:
authorflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2012-11-23 16:17:43 +0000
committerflorian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9>2012-11-23 16:17:43 +0000
commit6bd9dc18c043927c1196caba20a327238a179c42 (patch)
treedff76243a7d14bf9cc991aba104f6d02173b23ff /include/pub_tool_libcfile.h
parentad1162a84db887c997c766234f36dcecd5c926a1 (diff)
downloadvalgrind-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.h4
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);