summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorjimw@rama.(none) <>2006-09-28 20:20:33 -0700
committerjimw@rama.(none) <>2006-09-28 20:20:33 -0700
commit7a23b1baf7f96a060b2ee6226644b058aa819b5d (patch)
tree20092cfcc9e7be649649de38e18efcb3b577a6c7 /include/m_string.h
parentc8801bcecc035eea7f65bb8bd90edc3dcc2ee078 (diff)
parentd5d89bcf63be07fc74e90237d201da310722ea80 (diff)
downloadmariadb-git-7a23b1baf7f96a060b2ee6226644b058aa819b5d.tar.gz
Merge rama.(none):/home/jimw/my/mysql-5.0-clean
into rama.(none):/home/jimw/my/mysql-5.1-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 e009447c192..caccc59abd5 100644
--- a/include/m_string.h
+++ b/include/m_string.h
@@ -235,7 +235,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)
}