summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_string.h')
-rw-r--r--include/m_string.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/m_string.h b/include/m_string.h
index 95b28d6d69a..395fd2ddda6 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -73,10 +73,12 @@ extern "C" {
#endif
/*
- my_str_malloc() and my_str_free() are assigned to implementations in
- strings/alloc.c, but can be overridden in the calling program.
+ my_str_malloc(), my_str_realloc() and my_str_free() are assigned to
+ implementations in strings/alloc.c, but can be overridden in
+ the calling program.
*/
extern void *(*my_str_malloc)(size_t);
+extern void *(*my_str_realloc)(void *, size_t);
extern void (*my_str_free)(void *);
#if defined(HAVE_STPCPY) && MY_GNUC_PREREQ(3, 4) && !defined(__INTEL_COMPILER)