aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-05 14:00:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-05 14:00:15 +0000
commit9af0cf1cfb9c29697de268113820d2b4c32b9480 (patch)
treed81002347d65862ab84f455042af5a816b981ef7 /file.c
parent1587b32480b8ff607f0a56626a6fbdc068a62a20 (diff)
downloadruby-9af0cf1cfb9c29697de268113820d2b4c32b9480.tar.gz
internal.h: move rb_readlink declaration
* internal.h (rb_readlink): move the declaration. * ruby.c (dladdr_path): rb_readlink now requires the result encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/file.c b/file.c
index 98bd8d2ed6..8d8f1c9841 100644
--- a/file.c
+++ b/file.c
@@ -2786,8 +2786,6 @@ rb_file_s_symlink(VALUE klass, VALUE from, VALUE to)
#endif
#ifdef HAVE_READLINK
-VALUE rb_readlink(VALUE path, rb_encoding *enc);
-
/*
* call-seq:
* File.readlink(link_name) -> file_name