1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* st.c (st_reverse_foreach): comment out unused function.

* util.c (dtoa): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2008-06-05 12:47:48 +00:00
parent 55fece6379
commit eef10d71dd
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Thu Jun 5 21:46:50 2008 Yusuke Endoh <mame@tsg.ne.jp>
* st.c (st_reverse_foreach): comment out unused function.
* util.c (dtoa): ditto.
Thu Jun 5 20:30:46 2008 Akinori MUSHA <knu@iDaemons.org>
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):

2
st.c
View file

@ -686,6 +686,7 @@ st_foreach(st_table *table, int (*func)(ANYARGS), st_data_t arg)
return 0;
}
#if 0 /* unused right now */
int
st_reverse_foreach(st_table *table, int (*func)(ANYARGS), st_data_t arg)
{
@ -767,6 +768,7 @@ st_reverse_foreach(st_table *table, int (*func)(ANYARGS), st_data_t arg)
}
return 0;
}
#endif
/*
* hash_32 - 32 bit Fowler/Noll/Vo FNV-1a hash code

2
util.c
View file

@ -3265,6 +3265,7 @@ freedtoa(char *s)
* calculation.
*/
#if 0 /* unused right now */
char *
dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve)
{
@ -3934,6 +3935,7 @@ ret1:
*rve = s;
return s0;
}
#endif
void
ruby_each_words(const char *str, void (*func)(const char*, int, void*), void *arg)