Commit 5a025813 authored by Masaki Muranaka's avatar Masaki Muranaka

Include stdio.h in mrbconf.h instead of C extension sources.

parent ec70b2ab
......@@ -110,4 +110,8 @@ typedef short mrb_sym;
# include <inttypes.h>
#endif
#ifdef ENABLE_STDIO
# include <stdio.h>
#endif
#endif /* MRUBYCONF_H */
......@@ -6,7 +6,6 @@
#include "mruby.h"
#include <stdarg.h>
#include <stdio.h>
#include <ctype.h>
#include "mruby/class.h"
#include "mruby/proc.h"
......
......@@ -6,7 +6,6 @@
#include "mruby.h"
#include <stdarg.h>
#include <stdio.h>
#include <setjmp.h>
#include <string.h>
#include "error.h"
......
......@@ -10,7 +10,6 @@
#include "mruby/array.h"
#include <math.h>
#include <stdio.h>
#include <assert.h>
#if defined(__FreeBSD__) && __FreeBSD__ < 4
......
......@@ -7,7 +7,6 @@
#include "mruby.h"
#include <string.h>
#include "mruby/string.h"
#include <stdio.h>
#include "mruby/class.h"
#include "mruby/numeric.h"
#include "error.h"
......
......@@ -22,7 +22,6 @@
#include "mruby/proc.h"
#include "node.h"
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
......
......@@ -7,7 +7,6 @@
#include "mruby.h"
#ifdef ENABLE_STDIO
#include "mruby/string.h"
#include <stdio.h>
static void
printstr(mrb_state *mrb, mrb_value obj)
......
......@@ -15,7 +15,6 @@
#include "mruby/array.h"
#include "mruby/class.h"
#include "mruby/numeric.h"
#include <stdio.h>
#include "re.h"
const char mrb_digitmap[] = "0123456789abcdefghijklmnopqrstuvwxyz";
......
......@@ -17,7 +17,6 @@
#include "mruby/numeric.h"
#include "error.h"
#include <stdio.h>
#include <string.h>
#include <setjmp.h>
#include <stddef.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment