1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dl/dl.c (Init_dl): function declaration should precede

statements before C99.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2005-02-06 02:32:40 +00:00
parent c4e6638ce0
commit a9639c22ef
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Sun Feb 6 11:27:37 2005 Tanaka Akira <akr@m17n.org>
* ext/dl/dl.c (Init_dl): function declaration should precede
statements before C99.
Sun Feb 6 03:24:20 2005 Tanaka Akira <akr@m17n.org>
* lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not

View file

@ -69,13 +69,13 @@ rb_dl_value2ptr(VALUE self, VALUE val)
void
Init_dl()
{
rbdl_id_cdecl = rb_intern("cdecl");
rbdl_id_stdcall = rb_intern("stdcall");
void Init_dlhandle();
void Init_dlcfunc();
void Init_dlptr();
rbdl_id_cdecl = rb_intern("cdecl");
rbdl_id_stdcall = rb_intern("stdcall");
rb_mDL = rb_define_module("DL");
rb_eDLError = rb_define_class_under(rb_mDL, "DLError", rb_eStandardError);
rb_eDLTypeError = rb_define_class_under(rb_mDL, "DLTypeError", rb_eDLError);