From 27d4f8989df221062710db337793496b2ed6a70c Mon Sep 17 00:00:00 2001 From: Marcel Screm Date: Thu, 4 Dec 2025 14:23:47 +0100 Subject: applied patches --- dwmblocks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 dwmblocks.c (limited to 'dwmblocks.c') diff --git a/dwmblocks.c b/dwmblocks.c old mode 100644 new mode 100755 index c8f77b7..dd3c29f --- a/dwmblocks.c +++ b/dwmblocks.c @@ -34,7 +34,7 @@ void setupsignals(); void sighandler(int signum); int getstatus(char *str, char *last); void statusloop(); -void termhandler(); +void termhandler(int signum); void pstdout(); #ifndef NO_X void setroot(); @@ -53,7 +53,7 @@ static void (*writestatus) () = pstdout; static char statusbar[LENGTH(blocks)][CMDLENGTH] = {0}; static char statusstr[2][STATUSLENGTH]; static int statusContinue = 1; -static int returnStatus = 0; +//static int returnStatus = 0; //opens process *cmd and stores output in *output void getcmd(const Block *block, char *output) @@ -185,7 +185,7 @@ void sighandler(int signum) writestatus(); } -void termhandler() +void termhandler(int signum) { statusContinue = 0; } -- cgit v1.2.3