mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04: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
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue