summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-28 00:32:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-28 00:32:13 (GMT)
commitb28e91633a7bedd2d821de523b0303fee3d7e0f6 (patch)
tree4a89f0c0b5f425eaf42f32bff882a818ed9e8d90
parent71694d5c8c1846c6ac755bef69d7817f95359ecd (diff)
downloadcpython-b28e91633a7bedd2d821de523b0303fee3d7e0f6.zip
cpython-b28e91633a7bedd2d821de523b0303fee3d7e0f6.tar.gz
cpython-b28e91633a7bedd2d821de523b0303fee3d7e0f6.tar.bz2
Issue #22117: remove _PyTime_INTERVAL() macro
-rw-r--r--Include/pytime.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/pytime.h b/Include/pytime.h
index 72b6460..3004289 100644
--- a/Include/pytime.h
+++ b/Include/pytime.h
@@ -35,16 +35,6 @@ typedef struct {
*/
PyAPI_FUNC(void) _PyTime_gettimeofday(_PyTime_timeval *tp);
-/* Similar to _PyTime_gettimeofday() but retrieve also information on the
- * clock used to get the current time. */
-PyAPI_FUNC(int) _PyTime_gettimeofday_info(
- _PyTime_timeval *tp,
- _Py_clock_info_t *info);
-
-#define _PyTime_INTERVAL(tv_start, tv_end) \
- ((tv_end.tv_sec - tv_start.tv_sec) + \
- (tv_end.tv_usec - tv_start.tv_usec) * 0.000001)
-
typedef enum {
/* Round towards zero. */
_PyTime_ROUND_DOWN=0,