diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-11-10 11:11:39 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-11-10 11:11:39 (GMT) |
commit | c379ade1bb0cd1636050d5576a9db1030c136a55 (patch) | |
tree | ac829e9eb84b43e36ea7debffa4235e242473094 /Python | |
parent | d2f697424025313d8e5bb0cb27867eef8756a9f7 (diff) | |
download | cpython-c379ade1bb0cd1636050d5576a9db1030c136a55.zip cpython-c379ade1bb0cd1636050d5576a9db1030c136a55.tar.gz cpython-c379ade1bb0cd1636050d5576a9db1030c136a55.tar.bz2 |
pytime.c: rename pygettimeofday_new() to pygettimeofday()
I forgot to rename it in my previous refactoring of pytime.c.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pytime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/pytime.c b/Python/pytime.c index 5a5cdd9..7f65824 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -449,7 +449,7 @@ _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts) #endif static int -pygettimeofday_new(_PyTime_t *tp, _Py_clock_info_t *info, int raise) +pygettimeofday(_PyTime_t *tp, _Py_clock_info_t *info, int raise) { #ifdef MS_WINDOWS FILETIME system_time; @@ -541,7 +541,7 @@ _PyTime_t _PyTime_GetSystemClock(void) { _PyTime_t t; - if (pygettimeofday_new(&t, NULL, 0) < 0) { + if (pygettimeofday(&t, NULL, 0) < 0) { /* should not happen, _PyTime_Init() checked the clock at startup */ assert(0); @@ -554,7 +554,7 @@ _PyTime_GetSystemClock(void) int _PyTime_GetSystemClockWithInfo(_PyTime_t *t, _Py_clock_info_t *info) { - return pygettimeofday_new(t, info, 1); + return pygettimeofday(t, info, 1); } |