mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Close #12153: faulthandler, mark stack_overflow() as static
This commit is contained in:
parent
a454ef6985
commit
9b49304790
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ faulthandler_fatal_error_py(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
#if defined(HAVE_SIGALTSTACK) && defined(HAVE_SIGACTION)
|
||||
void*
|
||||
static void*
|
||||
stack_overflow(void *min_sp, void *max_sp, size_t *depth)
|
||||
{
|
||||
/* allocate 4096 bytes on the stack at each call */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue