summaryrefslogtreecommitdiff
path: root/include/m_string.h
diff options
context:
space:
mode:
authorunknown <jimw@rama.(none)>2006-09-28 18:09:10 -0700
committerunknown <jimw@rama.(none)>2006-09-28 18:09:10 -0700
commit44cdd695ab62ce115f1376cc63ee1c46e6f3b4b3 (patch)
treef325a06780e46cb928226f1db47f7a001930ff47 /include/m_string.h
parenta59f477cde80dc1fbd354c1a0f7a7c722833822f (diff)
parent915bdfbea873dd064edc28905945f2f098bb83e2 (diff)
downloadmariadb-git-44cdd695ab62ce115f1376cc63ee1c46e6f3b4b3.tar.gz
Merge rama.(none):/home/jimw/my/mysql-4.1-clean
into rama.(none):/home/jimw/my/mysql-5.0-clean include/m_ctype.h: Auto merged include/m_string.h: Auto merged include/my_global.h: Auto merged sql/item_subselect.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/set_var.cc: Auto merged sql/slave.cc: Auto merged sql/slave.h: Auto merged sql/sql_class.h: Auto merged include/my_sys.h: Resolve conflict sql/mysql_priv.h: Resolve conflict sql/mysqld.cc: Resolve conflict sql/opt_range.cc: Resolve conflict sql/sql_acl.cc: Resolve conflict
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)
}