diff options
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; } |
