- make some internal symbols static
This commit is contained in:
parent
307676face
commit
bc7315068f
|
@ -264,7 +264,7 @@ PyDoc_STRVAR(popleft_doc, "Remove and return the leftmost element.");
|
||||||
|
|
||||||
#define NEEDS_TRIM(deque, maxlen) ((size_t)(maxlen) < (size_t)(Py_SIZE(deque)))
|
#define NEEDS_TRIM(deque, maxlen) ((size_t)(maxlen) < (size_t)(Py_SIZE(deque)))
|
||||||
|
|
||||||
int
|
static int
|
||||||
deque_append_internal(dequeobject *deque, PyObject *item, Py_ssize_t maxlen)
|
deque_append_internal(dequeobject *deque, PyObject *item, Py_ssize_t maxlen)
|
||||||
{
|
{
|
||||||
if (deque->rightindex == BLOCKLEN - 1) {
|
if (deque->rightindex == BLOCKLEN - 1) {
|
||||||
|
|
|
@ -262,7 +262,7 @@ hashtable_hash_pointer_t(_Py_hashtable_t *ht, const void *pkey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
static int
|
||||||
hashtable_compare_pointer_t(_Py_hashtable_t *ht, const void *pkey,
|
hashtable_compare_pointer_t(_Py_hashtable_t *ht, const void *pkey,
|
||||||
const _Py_hashtable_entry_t *entry)
|
const _Py_hashtable_entry_t *entry)
|
||||||
{
|
{
|
||||||
|
|
|
@ -414,7 +414,7 @@ faulthandler_exc_handler(struct _EXCEPTION_POINTERS *exc_info)
|
||||||
|
|
||||||
/* Install the handler for fatal signals, faulthandler_fatal_error(). */
|
/* Install the handler for fatal signals, faulthandler_fatal_error(). */
|
||||||
|
|
||||||
int
|
static int
|
||||||
faulthandler_enable(void)
|
faulthandler_enable(void)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
Loading…
Reference in New Issue