summaryrefslogtreecommitdiffstats
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-02 22:14:58 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-02 22:14:58 (GMT)
commit5ad5821d0960994b0cdf3ed451de48e5b2490704 (patch)
tree5eb3bda754377b3619bc6e8c526c6e5deac1c03a /Python/pytime.c
parentc3c616c3d193c211bd435380593a20ec13e07b7b (diff)
downloadcpython-5ad5821d0960994b0cdf3ed451de48e5b2490704.zip
cpython-5ad5821d0960994b0cdf3ed451de48e5b2490704.tar.gz
cpython-5ad5821d0960994b0cdf3ed451de48e5b2490704.tar.bz2
oops, rename pymonotonic_new() to pymonotonic()
I was not supposed to commit the function with the name pymonotonic_new(). I forgot to rename it.
Diffstat (limited to 'Python/pytime.c')
-rw-r--r--Python/pytime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/pytime.c b/Python/pytime.c
index e46bd42..77db204 100644
--- a/Python/pytime.c
+++ b/Python/pytime.c
@@ -531,7 +531,7 @@ _PyTime_GetSystemClockWithInfo(_PyTime_t *t, _Py_clock_info_t *info)
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)
ULONGLONG result;
@@ -631,7 +631,7 @@ _PyTime_t
_PyTime_GetMonotonicClock(void)
{
_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
startup */
assert(0);
@@ -645,7 +645,7 @@ _PyTime_GetMonotonicClock(void)
int
_PyTime_GetMonotonicClockWithInfo(_PyTime_t *tp, _Py_clock_info_t *info)
{
- return pymonotonic_new(tp, info, 1);
+ return pymonotonic(tp, info, 1);
}
int