summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authorarton <[email protected]>2013-04-28 15:31:50 +0900
committerarton <[email protected]>2013-04-28 15:31:50 +0900
commit513bce35f686aae6e05b92ebbd44dffc8540ea75 (patch)
treea87ff38785668adc57dc476dab85ee5ff976a36a /src/dump.c
parent5c68195c88ed45164373b0ca435a7be2421dcc7c (diff)
downloadmruby-513bce35f686aae6e05b92ebbd44dffc8540ea75.tar.gz
mruby-513bce35f686aae6e05b92ebbd44dffc8540ea75.zip
add extern funcs declaration and casts for cimpiling C++ compiler
Diffstat (limited to 'src/dump.c')
-rwxr-xr-x[-rw-r--r--]src/dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dump.c b/src/dump.c
index 209b0d369..b4a6e9382 100644..100755
--- a/src/dump.c
+++ b/src/dump.c
@@ -12,6 +12,8 @@
#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);