all repos — slstatus @ 16a97fbca129bca5656f76191c1b324b1649ec22

my build of slstatus (tools.suckless.org/slstatus/)

Unify header includes

- Sort Alphabetically
- Same indentation for preprocessor clauses
Aaron Marcher me@drkhsh.at
Mon, 07 May 2018 11:21:59 +0200
commit

16a97fbca129bca5656f76191c1b324b1649ec22

parent

fbbe300f4d52ab014fb09050deea7746b1d02a82

M components/ip.ccomponents/ip.c

@@ -5,8 +5,8 @@ #include <netdb.h>

#include <stdio.h> #include <string.h> #if defined(__OpenBSD__) -#include <sys/types.h> -#include <sys/socket.h> + #include <sys/types.h> + #include <sys/socket.h> #endif #include "../util.h"
M components/num_files.ccomponents/num_files.c

@@ -1,6 +1,6 @@

/* See LICENSE file for copyright and license details. */ -#include <errno.h> #include <dirent.h> +#include <errno.h> #include <stdio.h> #include <string.h>
M components/ram.ccomponents/ram.c

@@ -54,9 +54,9 @@ 1024 / 1024) :

NULL; } #elif defined(__OpenBSD__) - #include <sys/types.h> - #include <sys/sysctl.h> #include <stdlib.h> + #include <sys/sysctl.h> + #include <sys/types.h> #include <unistd.h> inline int
M components/temperature.ccomponents/temperature.c

@@ -16,9 +16,9 @@ #elif defined(__OpenBSD__)

#include <errno.h> #include <stdio.h> #include <string.h> + #include <sys/sensors.h> #include <sys/sysctl.h> #include <sys/time.h> - #include <sys/sensors.h> const char * temp(const char *null)
M components/volume.ccomponents/volume.c

@@ -1,14 +1,14 @@

/* See LICENSE file for copyright and license details. */ #include <errno.h> #include <fcntl.h> +#include <stdio.h> +#include <string.h> #if defined(__OpenBSD__) -# include <soundcard.h> + #include <soundcard.h> #else -# include <sys/soundcard.h> + #include <sys/soundcard.h> #endif #include <sys/ioctl.h> -#include <stdio.h> -#include <string.h> #include <unistd.h> #include "../util.h"
M components/wifi.ccomponents/wifi.c

@@ -2,10 +2,10 @@ /* See LICENSE file for copyright and license details. */

#if defined(__linux__) #include <errno.h> #include <ifaddrs.h> + #include <limits.h> #include <linux/wireless.h> #include <sys/socket.h> #include <stdio.h> - #include <limits.h> #include <string.h> #include <sys/ioctl.h> #include <unistd.h>