Sort includes in *.c files

Not enabling in .clang-format because it breaks headers files.

Used:
    IncludeCategories:
      - Regex:           '^<config'
        Priority:        0
      - Regex:           '^".*"'
        Priority:        1
      - Regex:           '^<(xcb|xkb|yajl|X11)'
        Priority:        3
      - Regex:           '.*'
        Priority:        2
This commit is contained in:
Orestis Floros
2020-04-19 09:43:48 +02:00
parent 0bce0d86bf
commit 3c522d9f2f
52 changed files with 277 additions and 282 deletions

View File

@ -8,16 +8,15 @@
#include "libi3.h"
#include <assert.h>
#include <err.h>
#include <pwd.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <err.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <pwd.h>
#include <unistd.h>
#include <err.h>
/*
* Returns the name of a temporary file with the specified prefix.