summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sprintf.c1
-rw-r--r--util.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c529a1a..4febe46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jul 21 11:55:06 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * util.c (ruby_hdtoa): renamed from BSD__hdtoa.
+
Tue Jul 20 11:35:11 2010 Evan Phoenix <evan@ruby-lang.org>
* lib/rubygems.rb: Load the custom require if --disable-rubygems
diff --git a/sprintf.c b/sprintf.c
index 8a4662b..8a83cb3 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -1115,6 +1115,7 @@ fmt_setup(char *buf, size_t size, int c, int flags, int width, int prec)
#endif
#define FLOATING_POINT 1
#define BSD__dtoa ruby_dtoa
+#define BSD__hdtoa ruby_hdtoa
#include "vsnprintf.c"
static int
diff --git a/util.c b/util.c
index 363868d..48c212e 100644
--- a/util.c
+++ b/util.c
@@ -3927,7 +3927,7 @@ ruby_each_words(const char *str, void (*func)(const char*, int, void*), void *ar
* Outputs: decpt, sign, rve
*/
char *
-BSD__hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign,
+ruby_hdtoa(double d, const char *xdigs, int ndigits, int *decpt, int *sign,
char **rve)
{
U u;