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

@ -4,12 +4,10 @@
*/
#define _POSIX_C_SOURCE 200809L
#include "img/img-png.h"
#include <assert.h>
#include <cairo.h>
#include <png.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <wlr/util/log.h>
#include "buffer.h"
#include "common/string-helpers.h"

View file

@ -6,13 +6,10 @@
#include "img/img-svg.h"
#include <cairo.h>
#include <librsvg/rsvg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <wlr/util/log.h>
#include "buffer.h"
#include "common/string-helpers.h"
#include "labwc.h"
RsvgHandle *
img_svg_load(const char *filename)

View file

@ -8,13 +8,10 @@
#define _POSIX_C_SOURCE 200809L
#include "img/img-xbm.h"
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <drm_fourcc.h>
#include "img/img.h"
#include "common/grab-file.h"
#include "common/mem.h"
#include "common/string-helpers.h"

View file

@ -2,7 +2,6 @@
#include "img/img.h"
#include <assert.h>
#include <wlr/util/log.h>
#include "buffer.h"
#include "config.h"
#include "common/box.h"