summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-27 09:45:15 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-27 09:45:15 +0000
commit7412263eba30c0c65ae72f4e9dc0d139f37f4d00 (patch)
treeeb143f4cacf3d75aef6532e6f66df4632c68e289 /time.c
parent23b280869314c59be4e4fb01d68ebacf753475a9 (diff)
* internal.h (rb_strftime_timespec): move to time.c because it depends
encoding.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/time.c b/time.c
index 04ba4c54ed..c47b3569a0 100644
--- a/time.c
+++ b/time.c
@@ -16,6 +16,9 @@
#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