diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-04 02:32:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-04 02:32:11 +0000 |
commit | a5064ff12022424af9498fcc035fe4d0e0fbb83d (patch) | |
tree | 2fe23b9753929a9d489929f2b2d32daafecc8c25 | |
parent | 65d88f941041d38edfb43394e2aaafd617d6e0e5 (diff) |
* ext/-test-/add_suffix/bug.c: make all functions in util.c static
to get rid of multiple definitions. reported at
https://trac.macports.org/ticket/33814
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/-test-/add_suffix/bug.c | 11 |
2 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Wed Apr 4 11:32:09 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/-test-/add_suffix/bug.c: make all functions in util.c static + to get rid of multiple definitions. reported at + https://trac.macports.org/ticket/33814 + Tue Apr 3 18:34:33 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (setreuid, setregid): suppress warnings. diff --git a/ext/-test-/add_suffix/bug.c b/ext/-test-/add_suffix/bug.c index cd215338e0..e1b0aa4735 100644 --- a/ext/-test-/add_suffix/bug.c +++ b/ext/-test-/add_suffix/bug.c @@ -1,3 +1,14 @@ +static unsigned long ruby_scan_oct(); +static unsigned long ruby_scan_hex(); +static unsigned long ruby_strtoul(); +static void ruby_add_suffix(); +static void ruby_qsort(); +static char *ruby_strdup(); +static char *ruby_getcwd(); +static double ruby_strtod(); +static char *ruby_dtoa(); +static void ruby_each_words(); +static char *ruby_hdtoa(); #include "ruby.h" #include "ruby/defines.h" #include "ruby/util.h" |