summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-04 02:32:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-04 02:32:11 +0000
commita5064ff12022424af9498fcc035fe4d0e0fbb83d (patch)
tree2fe23b9753929a9d489929f2b2d32daafecc8c25 /ext
parent65d88f941041d38edfb43394e2aaafd617d6e0e5 (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
Diffstat (limited to 'ext')
-rw-r--r--ext/-test-/add_suffix/bug.c11
1 files changed, 11 insertions, 0 deletions
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"