slstatus

My fork of https://tools.suckless.org/slstatus/
git clone https://git.inz.fi/slstatus
Log | Files | Refs | README | LICENSE

commit 666f28520126fa54fca128b172c065b8a29a7f76
parent 6123f482e39d9488df03898a0aadca3bdaf8673f
Author: Aaron Marcher <me@drkhsh.at>
Date:   Mon,  7 May 2018 15:57:32 +0200

Only variable declarations at top of block

Diffstat:
Mslstatus.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/slstatus.c b/slstatus.c @@ -53,9 +53,10 @@ main(int argc, char *argv[]) struct sigaction act; struct timespec start, current, diff, intspec, wait; size_t i, len; - int sflag = 0; + int sflag; char status[MAXLEN]; + sflag = 0; ARGBEGIN { case 's': sflag = 1;