Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-18 | Add warn() and die() | Laslo Hunhold | |
Given slstatus is a tool that runs in the background, most likely run from .xinitrc, it's important to prepend the name of the tool to error messages so it becomes clear where the error is coming from. To make this much more consistent, this commit adds warn() and die() utility functions consistent with other suckless projects and adapts all calls to fprintf(stderr, *) to the warn() and die() functions, greatly increasing the readability of the code. | |||
2018-05-17 | Remove UNUSED macro | Aaron Marcher | |
Use variables named unused instead which is simpler | |||
2018-05-17 | Mark unused parameters, fix compiler warnings | Aaron Marcher | |
2017-09-17 | Added LICENSE statements to all source files | Aaron Marcher | |
2017-09-17 | Properly declare buf as extern and fix all unused-warnings | Laslo Hunhold | |
2017-09-17 | Split into multiple files | Aaron Marcher | |
For multiple reasons the program is now split: - Make future porting to OpenBSD easier - Assign header includes to individiual functions - Make future program extensions easier - Recompile only changed parts |