]> granicus.if.org Git - python/commitdiff
Close #12153: faulthandler, mark stack_overflow() as static
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 23 May 2011 10:29:10 +0000 (12:29 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 23 May 2011 10:29:10 +0000 (12:29 +0200)
Modules/faulthandler.c

index 72dbe1e1cfd9611df97317171462dead0b23f761..83c47cebecd6980a846ef5258abb2101d19ab6c2 100644 (file)
@@ -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 */