mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-110850: Replace _PyTime_t with PyTime_t (#115719)
Run command: sed -i -e 's!\<_PyTime_t\>!PyTime_t!g' $(find -name "*.c" -o -name "*.h")
This commit is contained in:
parent
0749244d13
commit
9af80ec83d
31 changed files with 341 additions and 341 deletions
|
@ -623,7 +623,7 @@ cancel_dump_traceback_later(void)
|
|||
#define SEC_TO_US (1000 * 1000)
|
||||
|
||||
static char*
|
||||
format_timeout(_PyTime_t us)
|
||||
format_timeout(PyTime_t us)
|
||||
{
|
||||
unsigned long sec, min, hour;
|
||||
char buffer[100];
|
||||
|
@ -656,7 +656,7 @@ faulthandler_dump_traceback_later(PyObject *self,
|
|||
{
|
||||
static char *kwlist[] = {"timeout", "repeat", "file", "exit", NULL};
|
||||
PyObject *timeout_obj;
|
||||
_PyTime_t timeout, timeout_us;
|
||||
PyTime_t timeout, timeout_us;
|
||||
int repeat = 0;
|
||||
PyObject *file = NULL;
|
||||
int fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue