diff options
| -rwxr-xr-x[-rw-r--r--] | .gitignore | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | LICENSE | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | Makefile | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | README.md | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | blocks.def.h | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | dwmblocks.c | 6 |
6 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore index b6605b4..b6605b4 100644..100755 --- a/.gitignore +++ b/.gitignore diff --git a/README.md b/README.md index dda2259..dda2259 100644..100755 --- a/README.md +++ b/README.md diff --git a/blocks.def.h b/blocks.def.h index dbb3305..dbb3305 100644..100755 --- a/blocks.def.h +++ b/blocks.def.h 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; } |
