From 1aff775d398793d6ff606a1e7efb9eac6099c152 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 25 Dec 2010 03:48:57 +0000 Subject: [PATCH] * load.c (rb_f_require_relative): don't omit return type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ load.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f2f1a0e09..d19dd60be5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 25 12:48:50 2010 Nobuyoshi Nakada + + * load.c (rb_f_require_relative): don't omit return type. + Sat Dec 25 11:06:00 2010 Eric Hodel * load.c (rb_f_require_relative): Add documentation. diff --git a/load.c b/load.c index 2628b31c12..dee450906d 100644 --- a/load.c +++ b/load.c @@ -461,7 +461,7 @@ rb_f_require(VALUE obj, VALUE fname) * file's path. If the file's path cannot be determined a LoadError is raised. * If a file is loaded +true+ is returned and false otherwise. */ - +VALUE rb_f_require_relative(VALUE obj, VALUE fname) { VALUE rb_current_realfilepath(void);