summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-06-15 13:01:35 +0200
committerunknown <knielsen@knielsen-hq.org>2009-06-15 13:01:35 +0200
commitf835970430402dcc9a587912fe75fad7c352b9ac (patch)
treea0f50b45fe0ee524eb145420a5ba2b277a1bffe8 /include/m_string.h
parent4b2aafb35cd2f04d96165100aee22b8836cf950d (diff)
downloadmariadb-git-f835970430402dcc9a587912fe75fad7c352b9ac.tar.gz
Cherry-pick revid:psergey@askmonty.org-20090608135546-ut1yrzbah4gdw6e6
from Sergey's table-elimination branch to get a clean Valgrind.
Diffstat (limited to 'include/m_string.h')
-rw-r--r--include/m_string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h
index c111a93c4bc..42161171eef 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -98,7 +98,8 @@ extern const double log_10[309];
#ifdef BAD_STRING_COMPILER
#define strmov(A,B) (memccpy(A,B,0,INT_MAX)-1)
#else
-#define strmov_overlapp(A,B) strmov(A,B)
+extern char *strmov_overlapp(char *dest, const char *src);
+/* Warning: the following is likely not to work: */
#define strmake_overlapp(A,B,C) strmake(A,B,C)
#endif