summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-02-13 15:27:21 +0100
committerserg@serg.mylan <>2004-02-13 15:27:21 +0100
commit5914e5705c62e065d52754d2e33f7224398d3e0e (patch)
treee72eb3285c6d77bd43ee040603595ce715626551 /include/m_string.h
parent67fbc4d2b70ffeab70d547a59e2d9af05c8e3d41 (diff)
downloadmariadb-git-5914e5705c62e065d52754d2e33f7224398d3e0e.tar.gz
my_atof is deleted
strtod from mit-threads is restored and cleaned up
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 d72342fb3c1..ac2aae37704 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -201,7 +201,7 @@ extern int strcmp(const char *, const char *);
extern size_t strlen(const char *);
#endif
#endif
-#ifndef HAVE_STRNLEN
+#ifndef HAVE_STRNLEN
extern uint strnlen(const char *s, uint n);
#endif
@@ -215,7 +215,9 @@ extern char *strstr(const char *, const char *);
#endif
extern int is_prefix(const char *, const char *);
-/* Conversion rutins */
+/* Conversion routines */
+double my_strtod(const char *str, char **end);
+double my_atof(const char *nptr);
#ifdef USE_MY_ITOA
extern char *my_itoa(int val,char *dst,int radix);