From c278d23113c9e881bdc4bf0e227df4d9f5afbd19 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 30 Jan 2014 13:58:26 +1000 Subject: Ah, THAT's why the sig atomic thing didn't work. --- boxes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes.c b/boxes.c index f358e18..8bd97e6 100644 --- a/boxes.c +++ b/boxes.c @@ -658,7 +658,7 @@ static box *rootBox; // Parent of the rest of the boxes, or the only box. Alway static box *currentBox; static view *commandLine; static int commandMode; -static /*sigatomic_t*/ volatile int sigWinch; +static volatile sig_atomic_t sigWinch; #define MEM_SIZE 128 // Chunk size for line memory allocation. -- cgit v1.1