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

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "common/box.h"
#include <assert.h>
#include "common/macros.h"
bool

View file

@ -7,16 +7,13 @@
#include "common/dir.h"
#include <assert.h>
#include <glib.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "common/buf.h"
#include "common/list.h"
#include "common/mem.h"
#include "common/string-helpers.h"
#include "config/rcxml.h"
#include "labwc.h"
struct dir {
const char *prefix;

View file

@ -1,14 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "common/font.h"
#include <cairo.h>
#include <drm_fourcc.h>
#include <pango/pangocairo.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/util/box.h>
#include <wlr/util/log.h>
#include "common/graphic-helpers.h"
#include "common/string-helpers.h"
#include "labwc.h"
#include "buffer.h"
PangoFontDescription *

View file

@ -3,7 +3,7 @@
#include "common/graphic-helpers.h"
#include <cairo.h>
#include <glib.h> /* g_ascii_strcasecmp */
#include <wlr/types/wlr_scene.h>
#include <wlr/util/box.h>
#include "common/macros.h"
#include "xcolor-table.h"

View file

@ -2,7 +2,6 @@
#include "common/parse-double.h"
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <wlr/util/log.h>
#include "common/mem.h"

View file

@ -5,12 +5,8 @@
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/util/log.h>
#include <wlr/util/region.h>
#include <wlr/util/transform.h>
#include "labwc.h"
#include "magnifier.h"
#include "output.h"
#include "output-state.h"
struct wlr_surface *
lab_wlr_surface_from_node(struct wlr_scene_node *node)

View file

@ -6,7 +6,6 @@
#include <glib.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
#include <wlr/util/log.h>