Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings on Ruby 2.7 #16

Merged
merged 2 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ext/tk/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1810,8 +1810,8 @@ def pthread_check()
# check header file
print("check functions.")

%w"ruby_native_thread_p rb_errinfo rb_safe_level rb_hash_lookup
rb_proc_new rb_obj_untrust rb_obj_taint rb_set_safe_level_force
%w"ruby_native_thread_p rb_errinfo rb_hash_lookup
rb_proc_new
rb_sourcefile rb_thread_alive_p rb_thread_check_trap_pending
ruby_enc_find_basename
".each do |func|
Expand Down
1 change: 0 additions & 1 deletion ext/tk/old-extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

have_func("ruby_native_thread_p", "ruby.h")
have_func("rb_errinfo", "ruby.h")
have_func("rb_safe_level", "ruby.h")
have_struct_member("struct RArray", "ptr", "ruby.h")
have_struct_member("struct RArray", "len", "ruby.h")

Expand Down
Loading