summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 00:55:29 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 00:55:29 (GMT)
commitf2535e14676359cf9e6f04d233f56cff11d1a5ee (patch)
tree6e2f9870510ebf8f3ccd73218c15dbd0efd6c6c3 /ext/objspace
parent4e0e72195d34640bada566320564142759310c33 (diff)
* configure.in: add -Wsuggest-attribute=format and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/objspace_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index a3f637b..65eabce 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -33,6 +33,7 @@ struct dump_config {
size_t cur_obj_references;
};
+PRINTF_ARGS(static void dump_append(struct dump_config *, const char *, ...), 2, 3);
static void
dump_append(struct dump_config *dc, const char *format, ...)
{