--- /dev/null
+/* timefuncs.h\r
+ */\r
+\r
+/* Utility function related to timemodule.c. */\r
+\r
+#ifndef TIMEFUNCS_H\r
+#define TIMEFUNCS_H\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+\r
+/* Cast double x to time_t, but raise ValueError if x is too large\r
+ * to fit in a time_t. ValueError is set on return iff the return\r
+ * value is (time_t)-1 and PyErr_Occurred().\r
+ */\r
+PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x);\r
+\r
+/* Get the current time since the epoch in seconds */\r
+PyAPI_FUNC(double) _PyTime_FloatTime(void);\r
+\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+#endif /* TIMEFUNCS_H */\r