function declarations should be in a header file.

This commit is contained in:
Tomoyuki Sahara
2014-04-17 16:13:18 +09:00
parent 9f5ff9ddec
commit a3e1e535dc
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -46,6 +46,7 @@ struct mrb_io {
mrb_value mrb_open_file(mrb_state *mrb, int argc, mrb_value *argv, mrb_value io);
void fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int noraise);
mrb_value mrb_file_exist(mrb_state *mrb, mrb_value fname);
mrb_value mrb_io_fileno(mrb_state *mrb, mrb_value io);
#if defined(__cplusplus)
} /* extern "C" { */
-2
View File
@@ -59,8 +59,6 @@
#define STAT(p, s) stat(p, s)
extern mrb_value mrb_io_fileno(mrb_state *mrb, mrb_value io);
mrb_value
mrb_file_s_umask(mrb_state *mrb, mrb_value klass)