diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b53f54cd31..72fe91a9e8 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1431,7 +1431,7 @@ unsigned long ruby_strtoul(const char *str, char **endptr, int base); #define InitVM(ext) {void InitVM_##ext(void);InitVM_##ext();} -int ruby_snprintf(char *str, size_t n, char const *fmt, ...); +PRINTF_ARGS(int ruby_snprintf(char *str, size_t n, char const *fmt, ...), 3, 4); int ruby_vsnprintf(char *str, size_t n, char const *fmt, va_list ap); #if defined __GNUC__ && __GNUC__ >= 4 |