summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-29 15:26:33 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-29 15:26:33 +0900
commitbdb11e31013906f44d4eb8ed828caad557074f45 (patch)
treedde62570184b96e827cdedb5463a8ee25e9d82b5 /src
parent83933ea5e0f5e21d7d595d8129a3796ece33cec2 (diff)
downloadmruby-bdb11e31013906f44d4eb8ed828caad557074f45.tar.gz
mruby-bdb11e31013906f44d4eb8ed828caad557074f45.zip
remove our own prototype for sprintf(); ref #1223
Diffstat (limited to 'src')
-rw-r--r--src/dump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dump.c b/src/dump.c
index b4a6e9382..8eb64c9b2 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -12,10 +12,7 @@
#include "mruby/irep.h"
#include "mruby/numeric.h"
-int sprintf(char*, const char*, ...);
-
-static size_t
-get_irep_record_size(mrb_state *mrb, mrb_irep *irep);
+static size_t get_irep_record_size(mrb_state *mrb, mrb_irep *irep);
static uint32_t
get_irep_header_size(mrb_state *mrb)