summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorjimw@rama.(none) <>2006-09-28 18:09:10 -0700
committerjimw@rama.(none) <>2006-09-28 18:09:10 -0700
commit68eadc8a793923c95d2a4a07a689d050b79f61f4 (patch)
treef325a06780e46cb928226f1db47f7a001930ff47 /include/m_string.h
parent9c3012e646420c2760daf541f7aaefb13c7d3e1e (diff)
parentcb6a084076d4688c11936bfa91b03a83570f69e0 (diff)
downloadmariadb-git-68eadc8a793923c95d2a4a07a689d050b79f61f4.tar.gz
Merge rama.(none):/home/jimw/my/mysql-4.1-clean
into rama.(none):/home/jimw/my/mysql-5.0-clean
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 c02ce92cd88..8a526d70d1d 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -254,7 +254,8 @@ extern ulonglong strtoull(const char *str, char **ptr, int base);
extern int my_vsnprintf( char *str, size_t n,
const char *format, va_list ap );
-extern int my_snprintf(char* to, size_t n, const char* fmt, ...);
+extern int my_snprintf(char *to, size_t n, const char *fmt, ...)
+ ATTRIBUTE_FORMAT(printf, 3, 4);
#if defined(__cplusplus) && !defined(OS2)
}