diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-27 10:06:25 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-27 10:06:25 +0000 |
commit | 6bc83a18b74844acff9e664ff2983f00181d577b (patch) | |
tree | 5c5dae7b9d01d0528733258a4ba9c376ad190519 /time.c | |
parent | a09e7139a3916c832f42d54191fc69439ecc603e (diff) | |
download | ruby-6bc83a18b74844acff9e664ff2983f00181d577b.tar.gz |
* internal.h (rb_strftime_timespec): moved from time.c and define only
if ruby/encoding.h is included.
* internal.h (rb_strftime): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -16,9 +16,6 @@ #include "ruby/encoding.h" #include "internal.h" -/* strftime.c */ -size_t rb_strftime_timespec(char *s, size_t maxsize, const char *format, rb_encoding *enc, const struct vtm *vtm, struct timespec *ts, int gmt); - #ifdef HAVE_UNISTD_H #include <unistd.h> #endif @@ -4286,10 +4283,6 @@ time_to_a(VALUE time) time_zone(time)); } -size_t -rb_strftime(char *s, size_t maxsize, const char *format, rb_encoding *enc, - const struct vtm *vtm, VALUE timev, int gmt); - #define SMALLBUF 100 static size_t rb_strftime_alloc(char **buf, const char *format, rb_encoding *enc, |