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:
@ -8,12 +8,13 @@
|
||||
*/
|
||||
#include "libi3.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <cairo/cairo-xcb.h>
|
||||
#include <err.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_aux.h>
|
||||
#include <cairo/cairo-xcb.h>
|
||||
|
||||
/* The default visual_type to use if none is specified when creating the surface. Must be defined globally. */
|
||||
extern xcb_visualtype_t *visual_type;
|
||||
|
Reference in New Issue
Block a user