summaryrefslogtreecommitdiff
path: root/components/uptime.c
AgeCommit message (Collapse)Author
2018-04-29uptime: Separate function for readbilityAaron Marcher
2018-03-28Format error messages properlyAaron Marcher
Make use of strerror(errno) and format all errors equally: function ['parameters']: error message
2018-03-21More robust preprocessor switchesAaron Marcher
Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not.
2018-03-20uptime: Port to OpenBSD.Aaron Marcher
In OpenBSD uptime gets fetched using sysctl now.
2018-03-18Build Linux-only functions only on LinuxAaron Marcher
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold
This brings us a lot more tidiness.