summaryrefslogtreecommitdiff
path: root/Include/pytime.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-28 04:09:41 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-28 04:09:41 +0100
commit1d90b89bca58066016225d3ed721c167597a0ee5 (patch)
treed90423cdeb6ab01329ef54aefbbd0de65f94d10b /Include/pytime.h
parent92ab17f9200c135ec9d951e734c02ed57a77d803 (diff)
downloadcpython-1d90b89bca58066016225d3ed721c167597a0ee5.tar.gz
Issue #22117: Use the _PyTime_t API for time.clock_settime()
Remove also the now unused _PyTime_AddDouble() function.
Diffstat (limited to 'Include/pytime.h')
-rw-r--r--Include/pytime.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Include/pytime.h b/Include/pytime.h
index 6edffbd2bf..654623e24a 100644
--- a/Include/pytime.h
+++ b/Include/pytime.h
@@ -74,11 +74,6 @@ PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
long *nsec,
_PyTime_round_t);
-/* Add interval seconds to tv */
-PyAPI_FUNC(void)
-_PyTime_AddDouble(_PyTime_timeval *tv, double interval,
- _PyTime_round_t round);
-
/* Initialize time.
Return 0 on success, raise an exception and return -1 on error. */
PyAPI_FUNC(int) _PyTime_Init(void);