mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -1,6 +1,6 @@
|
|||
/* Socket module header file */
|
||||
|
||||
#include "pycore_time.h" // _PyTime_t
|
||||
#include "pycore_time.h" // PyTime_t
|
||||
|
||||
/* Includes needed for the sockaddr_* symbols below */
|
||||
#ifndef MS_WINDOWS
|
||||
|
@ -324,7 +324,7 @@ typedef struct {
|
|||
PyObject *(*errorhandler)(void); /* Error handler; checks
|
||||
errno, returns NULL and
|
||||
sets a Python exception */
|
||||
_PyTime_t sock_timeout; /* Operation timeout in seconds;
|
||||
PyTime_t sock_timeout; /* Operation timeout in seconds;
|
||||
0.0 means non-blocking */
|
||||
struct _socket_state *state;
|
||||
} PySocketSockObject;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue