treewide: sort headers

This commit is contained in:
Alexander Orzechowski 2023-11-23 16:58:47 -05:00
parent 26158d0718
commit dcd81c91f3
125 changed files with 252 additions and 300 deletions

View file

@ -1,6 +1,6 @@
#include "util/array.h"
#include <assert.h>
#include <string.h>
#include "util/array.h"
void array_remove_at(struct wl_array *arr, size_t offset, size_t size) {
assert(arr->size >= offset + size);

View file

@ -1,6 +1,6 @@
#include <assert.h>
#include <math.h>
#include <limits.h>
#include <math.h>
#include <stdlib.h>
#include <wlr/util/region.h>

View file

@ -2,10 +2,10 @@
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <wlr/config.h>
#include "util/shm.h"

View file

@ -1,15 +1,14 @@
#define _POSIX_C_SOURCE 200809L
#include "util/token.h"
#include "wlr/util/log.h"
#include <fcntl.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "util/token.h"
#include "wlr/util/log.h"
bool generate_token(char out[static TOKEN_SIZE]) {
static FILE *urandom = NULL;