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

This commit is contained in:
John Lindgren 2025-09-02 23:19:38 -04:00 committed by Hiroaki Yamamoto
parent 7c185c1a85
commit b00873a988
52 changed files with 5 additions and 114 deletions

View file

@ -3,7 +3,6 @@
#include "config/keybind.h"
#include <assert.h>
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wlr/types/wlr_keyboard_group.h>

View file

@ -4,7 +4,6 @@
#include <assert.h>
#include <linux/input-event-codes.h>
#include <strings.h>
#include <unistd.h>
#include <wlr/util/log.h>
#include "common/list.h"
#include "common/mem.h"

View file

@ -2,17 +2,13 @@
#define _POSIX_C_SOURCE 200809L
#include "config/rcxml.h"
#include <assert.h>
#include <fcntl.h>
#include <glib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <wayland-server-core.h>
#include <wlr/util/box.h>
#include <wlr/util/log.h>
#include "action.h"

View file

@ -8,14 +8,12 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <wlr/backend/drm.h>
#include <wlr/backend/multi.h>
#include <wlr/util/log.h>
#include "common/buf.h"
#include "common/dir.h"
#include "common/file-helpers.h"
#include "common/mem.h"
#include "common/parse-bool.h"
#include "common/spawn.h"
#include "common/string-helpers.h"

View file

@ -3,7 +3,6 @@
#include "config/touch.h"
#include <strings.h>
#include <wlr/util/log.h>
#include "common/list.h"
#include "config/rcxml.h"
static struct touch_config_entry *