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

@ -2,8 +2,6 @@
#define _POSIX_C_SOURCE 200809L
#include "input/cursor.h"
#include <assert.h>
#include <linux/input-event-codes.h>
#include <sys/time.h>
#include <time.h>
#include <wlr/backend/libinput.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
@ -19,7 +17,6 @@
#include "action.h"
#include "common/macros.h"
#include "common/mem.h"
#include "common/scene-helpers.h"
#include "common/surface-helpers.h"
#include "config/mousebind.h"
#include "config/rcxml.h"
@ -33,7 +30,6 @@
#include "layers.h"
#include "menu/menu.h"
#include "output.h"
#include "regions.h"
#include "resistance.h"
#include "resize-outlines.h"
#include "ssd.h"

View file

@ -11,7 +11,6 @@
#include "labwc.h"
#include "node.h"
#include "output.h"
#include "view.h"
#define SAME_CLIENT(wlr_obj1, wlr_obj2) \
(wl_resource_get_client((wlr_obj1)->resource) \

View file

@ -4,8 +4,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wlr/util/log.h>
#include "common/set.h"
static struct lab_set pressed, bound, pressed_sent;

View file

@ -3,7 +3,6 @@
#include "input/keyboard.h"
#include <assert.h>
#include <stdlib.h>
#include <wlr/backend/multi.h>
#include <wlr/backend/session.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/types/wlr_keyboard_group.h>
@ -17,7 +16,6 @@
#include "labwc.h"
#include "menu/menu.h"
#include "osd.h"
#include "regions.h"
#include "session-lock.h"
#include "view.h"
#include "workspaces.h"

View file

@ -1,11 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "input/tablet-pad.h"
#include <assert.h>
#include <stdlib.h>
#include <wlr/backend/libinput.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_tablet_pad.h>
#include <wlr/types/wlr_tablet_tool.h>
#include <wlr/util/log.h>
#include "common/macros.h"
#include "common/mem.h"

View file

@ -1,9 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "input/tablet.h"
#include <assert.h>
#include <stdlib.h>
#include <linux/input-event-codes.h>
#include <wlr/types/wlr_tablet_pad.h>
#include <wlr/types/wlr_tablet_tool.h>
#include <wlr/util/log.h>
#include <wlr/types/wlr_scene.h>