Remove headers not being used directly

Fix clangd warnings regarding headers not being used directly.
This commit is contained in:
kyak 2023-12-11 13:13:00 +03:00 committed by Johan Malm
parent 6c287969d3
commit 266690091f
17 changed files with 0 additions and 24 deletions

View file

@ -12,9 +12,7 @@
#include "buffer.h"
#include "button/button-png.h"
#include "button/common.h"
#include "common/file-helpers.h"
#include "labwc.h"
#include "theme.h"
/*
* cairo_image_surface_create_from_png() does not gracefully handle non-png

View file

@ -12,9 +12,7 @@
#include "buffer.h"
#include "button/button-svg.h"
#include "button/common.h"
#include "common/file-helpers.h"
#include "labwc.h"
#include "theme.h"
void
button_svg_load(const char *button_name, struct lab_data_buffer **buffer,

View file

@ -15,11 +15,8 @@
#include <drm_fourcc.h>
#include "button/button-xbm.h"
#include "button/common.h"
#include "common/dir.h"
#include "common/grab-file.h"
#include "common/mem.h"
#include "config/rcxml.h"
#include "theme.h"
#include "buffer.h"
enum token_type {

View file

@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <assert.h>
#include <cairo.h>
#include <drm_fourcc.h>
#include <pango/pangocairo.h>

View file

@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <string.h>
#include <strings.h>
#include <wlr/util/log.h>
#include "common/parse-bool.h"

View file

@ -3,7 +3,6 @@
#include <assert.h>
#include <glib.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>

View file

@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <libxml/parser.h>
#include <libxml/tree.h>

View file

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <ctype.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
@ -9,7 +8,6 @@
#include <wlr/util/log.h>
#include "common/buf.h"
#include "common/file-helpers.h"
#include "common/mem.h"
#include "common/spawn.h"
#include "common/string-helpers.h"
#include "config/session.h"

View file

@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "config.h"
#include <assert.h>
#include "common/list.h"
#include "common/scene-helpers.h"
#include "dnd.h"
#include "labwc.h"

View file

@ -3,7 +3,6 @@
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_scene.h>
#include <wlr/util/log.h>
#include "common/mem.h"
#include "dnd.h"
#include "input/cursor.h"
#include "labwc.h" /* for struct seat */

View file

@ -15,7 +15,6 @@
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/util/log.h>
#include "common/macros.h"
#include "common/list.h"
#include "common/mem.h"
#include "config/rcxml.h"
#include "layers.h"

View file

@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <ctype.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <stdio.h>

View file

@ -7,7 +7,6 @@
*/
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <strings.h>
#include <wlr/backend/drm.h>
#include <wlr/backend/headless.h>

View file

@ -1,5 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
#include <assert.h>
#include <strings.h>
#include <wlr/util/box.h>
#include "labwc.h"

View file

@ -9,10 +9,8 @@
#include "config.h"
#include <assert.h>
#include <cairo.h>
#include <ctype.h>
#include <drm_fourcc.h>
#include <glib.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/* view-impl-common.c: common code for shell view->impl functions */
#include <assert.h>
#include <stdio.h>
#include <strings.h>
#include "common/list.h"

View file

@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include "config.h"
#include <assert.h>
#include <stdbool.h>
#include <cairo.h>