diff options
| author | Marcel Screm <marcel@marcelscrem.com> | 2025-12-04 14:23:47 +0100 |
|---|---|---|
| committer | Marcel Screm <marcel@marcelscrem.com> | 2025-12-04 14:23:47 +0100 |
| commit | 27d4f8989df221062710db337793496b2ed6a70c (patch) | |
| tree | 57445d191afb5eb28fb7e0a4c042bf44136a46ea /dwmblocks.c | |
| parent | 8cedd220684064f1433749ed2a19a6184c22cf07 (diff) | |
applied patches
Diffstat (limited to 'dwmblocks.c')
| -rwxr-xr-x[-rw-r--r--] | dwmblocks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dwmblocks.c b/dwmblocks.c index c8f77b7..dd3c29f 100644..100755 --- 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; } |
