summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-05-23 10:29:10 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-05-23 10:29:10 (GMT)
commit9b49304790a9ada10c4d0d13422ee350353cbeb0 (patch)
tree1748fe2ece5e99fed148183d53ac23f13dddbbe9 /Modules
parenta454ef6985494ad894c5ec7ebe0ea4c824fc926d (diff)
downloadcpython-9b49304790a9ada10c4d0d13422ee350353cbeb0.zip
cpython-9b49304790a9ada10c4d0d13422ee350353cbeb0.tar.gz
cpython-9b49304790a9ada10c4d0d13422ee350353cbeb0.tar.bz2
Close #12153: faulthandler, mark stack_overflow() as static
Diffstat (limited to 'Modules')
-rw-r--r--Modules/faulthandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index 72dbe1e..83c47ce 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -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 */