summaryrefslogtreecommitdiffstats
path: root/signal.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-01-23 00:16:58 -0800
committerKaz Kylheku <kaz@kylheku.com>2022-01-23 00:16:58 -0800
commite5c930dadc76a19a76895e4db22552c83e7a87c2 (patch)
tree88836bca3f9faca95dfd823e24d0538bf2d53f8b /signal.c
parent004e1208708fa7ed0538c391c42411e36ddac431 (diff)
downloadtxr-e5c930dadc76a19a76895e4db22552c83e7a87c2.tar.gz
txr-e5c930dadc76a19a76895e4db22552c83e7a87c2.tar.bz2
txr-e5c930dadc76a19a76895e4db22552c83e7a87c2.zip
signal: make stack_refcount static.
* signal.c (stack_refcount): This variable is referenced only from two static functions here; it should be static.
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index f7dda4c7..574defe1 100644
--- a/signal.c
+++ b/signal.c
@@ -218,7 +218,7 @@ void sig_init(void)
#if HAVE_SIGALTSTACK
static mem_t *stack;
-int stack_refcount;
+static int stack_refcount;
static void addref_alt_stack(void)
{