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,24 +1,20 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <assert.h>
#include <cairo.h>
#include <wlr/util/log.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/util/box.h>
#include <wlr/util/log.h>
#include "common/array.h"
#include "common/buf.h"
#include "common/font.h"
#include "common/lab-scene-rect.h"
#include "common/scene-helpers.h"
#include "common/string-helpers.h"
#include "config/rcxml.h"
#include "labwc.h"
#include "node.h"
#include "osd.h"
#include "output.h"
#include "scaled-buffer/scaled-font-buffer.h"
#include "scaled-buffer/scaled-icon-buffer.h"
#include "theme.h"
#include "view.h"
#include "window-rules.h"
#include "workspaces.h"
struct osd_classic_scene_item {

View file

@ -2,7 +2,6 @@
#include <assert.h>
#include <wlr/render/swapchain.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/render/allocator.h>
#include "config/rcxml.h"
#include "common/array.h"

View file

@ -1,23 +1,19 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "osd.h"
#include <assert.h>
#include <cairo.h>
#include <wlr/util/log.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/util/box.h>
#include "common/array.h"
#include "common/lab-scene-rect.h"
#include "common/scene-helpers.h"
#include "config/rcxml.h"
#include "labwc.h"
#include "node.h"
#include "output.h"
#include "scaled-buffer/scaled-font-buffer.h"
#include "scaled-buffer/scaled-icon-buffer.h"
#include "ssd.h"
#include "theme.h"
#include "view.h"
#include "window-rules.h"
#include "workspaces.h"
static void update_osd(struct server *server);