mirror of
https://github.com/labwc/labwc.git
synced 2025-11-08 13:30:00 -05:00
src: remove unused #includes (via include-what-you-use)
This commit is contained in:
parent
7c185c1a85
commit
b00873a988
52 changed files with 5 additions and 114 deletions
|
|
@ -1,6 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#include "common/box.h"
|
||||
#include <assert.h>
|
||||
#include "common/macros.h"
|
||||
|
||||
bool
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 *
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue