smdev

suckless mdev
git clone git://git.2f30.org/smdev
Log | Files | Refs | README | LICENSE

commit 017fb368d24eec3c48fe193e9b14698cddcc2539
parent 8c66cfaf736340ff2c7d984bc4d7b2b92640af6d
Author: sin <sin@2f30.org>
Date:   Thu, 22 Aug 2013 16:48:48 +0100

Re-arrange includes

Diffstat:
Msmdev.c | 16+++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/smdev.c b/smdev.c @@ -1,17 +1,19 @@ /* See LICENSE file for copyright and license details. */ -#include <sys/types.h> #include <sys/stat.h> -#include <fcntl.h> -#include <unistd.h> +#include <sys/types.h> + #include <errno.h> -#include <pwd.h> +#include <fcntl.h> #include <grp.h> +#include <libgen.h> +#include <limits.h> +#include <pwd.h> +#include <regex.h> +#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <limits.h> -#include <regex.h> -#include <libgen.h> + #include "config.h" #include "mkpath.h" #include "util.h"