oops, rename pymonotonic_new() to pymonotonic()

I was not supposed to commit the function with the name pymonotonic_new(). I
forgot to rename it.
This commit is contained in:
Victor Stinner 2015-09-03 00:14:58 +02:00
parent c3c616c3d1
commit 5ad5821d09
1 changed files with 3 additions and 3 deletions

View File

@ -531,7 +531,7 @@ _PyTime_GetSystemClockWithInfo(_PyTime_t *t, _Py_clock_info_t *info)
static int static int
pymonotonic_new(_PyTime_t *tp, _Py_clock_info_t *info, int raise) pymonotonic(_PyTime_t *tp, _Py_clock_info_t *info, int raise)
{ {
#if defined(MS_WINDOWS) #if defined(MS_WINDOWS)
ULONGLONG result; ULONGLONG result;
@ -631,7 +631,7 @@ _PyTime_t
_PyTime_GetMonotonicClock(void) _PyTime_GetMonotonicClock(void)
{ {
_PyTime_t t; _PyTime_t t;
if (pymonotonic_new(&t, NULL, 0) < 0) { if (pymonotonic(&t, NULL, 0) < 0) {
/* should not happen, _PyTime_Init() checked that monotonic clock at /* should not happen, _PyTime_Init() checked that monotonic clock at
startup */ startup */
assert(0); assert(0);
@ -645,7 +645,7 @@ _PyTime_GetMonotonicClock(void)
int int
_PyTime_GetMonotonicClockWithInfo(_PyTime_t *tp, _Py_clock_info_t *info) _PyTime_GetMonotonicClockWithInfo(_PyTime_t *tp, _Py_clock_info_t *info)
{ {
return pymonotonic_new(tp, info, 1); return pymonotonic(tp, info, 1);
} }
int int