diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2016-05-17 23:06:01 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2016-05-17 23:06:01 (GMT) |
commit | bc7315068f188312e5c624ca57a3b010c7503eff (patch) | |
tree | 48b0e7e9b0c6c84785e5c15a6e24c0e74f8544fa /Modules | |
parent | 307676face1151e8429c49cb0f7343576eb342a0 (diff) | |
download | cpython-bc7315068f188312e5c624ca57a3b010c7503eff.zip cpython-bc7315068f188312e5c624ca57a3b010c7503eff.tar.gz cpython-bc7315068f188312e5c624ca57a3b010c7503eff.tar.bz2 |
- make some internal symbols static
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_collectionsmodule.c | 2 | ||||
-rw-r--r-- | Modules/_tracemalloc.c | 2 | ||||
-rw-r--r-- | Modules/faulthandler.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index d57f1ba..3008879 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -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))) -int +static int deque_append_internal(dequeobject *deque, PyObject *item, Py_ssize_t maxlen) { if (deque->rightindex == BLOCKLEN - 1) { diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c index beda2b6..e3329c7 100644 --- a/Modules/_tracemalloc.c +++ b/Modules/_tracemalloc.c @@ -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, const _Py_hashtable_entry_t *entry) { diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index 570c875..d6322d0 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -414,7 +414,7 @@ faulthandler_exc_handler(struct _EXCEPTION_POINTERS *exc_info) /* Install the handler for fatal signals, faulthandler_fatal_error(). */ -int +static int faulthandler_enable(void) { size_t i; |