summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-27 10:06:25 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-27 10:06:25 +0000
commit6bc83a18b74844acff9e664ff2983f00181d577b (patch)
tree5c5dae7b9d01d0528733258a4ba9c376ad190519 /time.c
parenta09e7139a3916c832f42d54191fc69439ecc603e (diff)
* 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.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/time.c b/time.c
index c47b3569a0..f74b3c7b29 100644
--- a/time.c
+++ b/time.c
@@ -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,