aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-06-11 01:12:08 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2005-06-11 01:12:08 +0000
commit6ba622c16fbe0c0b39f24691a1e10f5d0503bb8a (patch)
tree30a66d32bd7dea8dee4b33aed9b8316f68f9bc56 /include
parent984a636728fd7a2318859b00beba231c73f852eb (diff)
downloadvalgrind-6ba622c16fbe0c0b39f24691a1e10f5d0503bb8a.tar.gz
Moved VG_(strdup)() and VG_(arena_strdup)() into m_mallocfree.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3878 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include')
-rw-r--r--include/pub_tool_libcbase.h1
-rw-r--r--include/pub_tool_mallocfree.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/pub_tool_libcbase.h b/include/pub_tool_libcbase.h
index b60c89161..e96a8c588 100644
--- a/include/pub_tool_libcbase.h
+++ b/include/pub_tool_libcbase.h
@@ -64,7 +64,6 @@ extern Int VG_(strncmp) ( const Char* s1, const Char* s2, SizeT nmax );
extern Char* VG_(strstr) ( const Char* haystack, Char* needle );
extern Char* VG_(strchr) ( const Char* s, Char c );
extern Char* VG_(strrchr) ( const Char* s, Char c );
-extern Char* VG_(strdup) ( const Char* s);
/* Like strcmp() and strncmp(), but stop comparing at any whitespace. */
extern Int VG_(strcmp_ws) ( const Char* s1, const Char* s2 );
diff --git a/include/pub_tool_mallocfree.h b/include/pub_tool_mallocfree.h
index d89edaf79..1fbf9f5c0 100644
--- a/include/pub_tool_mallocfree.h
+++ b/include/pub_tool_mallocfree.h
@@ -37,6 +37,7 @@ extern void* VG_(malloc) ( SizeT nbytes );
extern void VG_(free) ( void* p );
extern void* VG_(calloc) ( SizeT n, SizeT bytes_per_elem );
extern void* VG_(realloc) ( void* p, SizeT size );
+extern Char* VG_(strdup) ( const Char* s );
#endif // __PUB_TOOL_MALLOCFREE_H