summaryrefslogtreecommitdiffhomepage
path: root/src/error.h
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-06-14 06:55:02 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-06-14 06:55:02 -0700
commite2796b47dc28e3e861b278db8413a2105ed14c28 (patch)
treef31c25f7404da01acfab567034a3c5a3e2036e38 /src/error.h
parent73d7000b8f5c3f7d2cb12e03b0a431ec3636fe21 (diff)
parent3fb9408669ac44f1e366d764262f65c452d4d907 (diff)
downloadmruby-e2796b47dc28e3e861b278db8413a2105ed14c28.tar.gz
mruby-e2796b47dc28e3e861b278db8413a2105ed14c28.zip
Merge pull request #281 from monaka/pr-remove-redundant-declaration-warnings
Fix redundant declraration warnings by gcc.
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/error.h b/src/error.h
index babf93a7d..8a86e7d3d 100644
--- a/src/error.h
+++ b/src/error.h
@@ -12,13 +12,11 @@ struct RException {
};
void mrb_sys_fail(mrb_state *mrb, const char *mesg);
-void mrb_exc_raise(mrb_state *mrb, mrb_value mesg);
void mrb_bug_errno(const char*, int);
int sysexit_status(mrb_state *mrb, mrb_value err);
void error_pos(void);
mrb_value mrb_exc_new3(mrb_state *mrb, struct RClass* c, mrb_value str);
mrb_value make_exception(mrb_state *mrb, int argc, mrb_value *argv, int isstr);
-mrb_value mrb_exc_new(mrb_state *mrb, struct RClass *c, const char *ptr, long len);
mrb_value mrb_make_exception(mrb_state *mrb, int argc, mrb_value *argv);
mrb_value mrb_sprintf(mrb_state *mrb, const char *fmt, ...);
void mrb_name_error(mrb_state *mrb, mrb_sym id, const char *fmt, ...);