src: remove unused #includes (via include-what-you-use)

This commit is contained in:
John Lindgren 2025-09-02 23:19:38 -04:00
parent 94ad36191a
commit 10953ae1a5
52 changed files with 5 additions and 114 deletions

View file

@ -16,17 +16,14 @@
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <strings.h>
#ifdef __FreeBSD__
#include <sys/event.h> /* For signalfd() */
#endif
#include <sys/signalfd.h>
#include <sys/stat.h>
#include <sys/timerfd.h>
#include <sys/wait.h>
#include <time.h>
#include <unistd.h>
#include <wayland-client.h>
#include <wayland-cursor.h>
#include <wlr/util/log.h>
#include "action-prompt-codes.h"
@ -62,8 +59,6 @@ struct conf {
ssize_t button_padding;
};
struct nag;
struct pointer {
struct wl_pointer *pointer;
uint32_t serial;

View file

@ -5,18 +5,14 @@
* Copyright (C) 2016-2017 Drew DeVault
*/
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <cairo.h>
#include <errno.h>
#include <fcntl.h>
#include <pango/pangocairo.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <time.h>
#include <unistd.h>
#include <wayland-client.h>
#include "pool-buffer.h"
static int anonymous_shm_open(void)