diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 17:39:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 17:39:33 +0000 |
commit | 1da55b38fab0e55201cb1d97672caac92f4cd3a7 (patch) | |
tree | 0295ce12e459c2c6c5480bc60c8dc25189aad77f /template | |
parent | 2d549dcfbd7e90e3cddca5162e006f57fe783087 (diff) | |
download | ruby-1da55b38fab0e55201cb1d97672caac92f4cd3a7.tar.gz |
* error.c (Init_syserr): moved function definition itself from
template/known_errors.inc.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/known_errors.inc.tmpl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/template/known_errors.inc.tmpl b/template/known_errors.inc.tmpl index 2a569bda12..23bca21362 100644 --- a/template/known_errors.inc.tmpl +++ b/template/known_errors.inc.tmpl @@ -5,8 +5,6 @@ */ % error_names = ARGF.read.split(/\s+/) -void Init_syserr(void) { - rb_eNOERROR = set_syserr(0, "NOERROR"); % error_names.each do |name| #ifdef <%=name%> set_syserr(<%=name%>, "<%=name%>"); @@ -14,4 +12,3 @@ void Init_syserr(void) { set_syserr(0, "<%=name%>"); #endif % end -} |