mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
src: remove unused #includes (via include-what-you-use)
This commit is contained in:
parent
94ad36191a
commit
10953ae1a5
52 changed files with 5 additions and 114 deletions
|
|
@ -16,17 +16,14 @@
|
|||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/event.h> /* For signalfd() */
|
||||
#endif
|
||||
#include <sys/signalfd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/timerfd.h>
|
||||
#include <sys/wait.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <wayland-client.h>
|
||||
#include <wayland-cursor.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include "action-prompt-codes.h"
|
||||
|
|
@ -62,8 +59,6 @@ struct conf {
|
|||
ssize_t button_padding;
|
||||
};
|
||||
|
||||
struct nag;
|
||||
|
||||
struct pointer {
|
||||
struct wl_pointer *pointer;
|
||||
uint32_t serial;
|
||||
|
|
|
|||
|
|
@ -5,18 +5,14 @@
|
|||
* Copyright (C) 2016-2017 Drew DeVault
|
||||
*/
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <assert.h>
|
||||
#include <cairo.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <pango/pangocairo.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <wayland-client.h>
|
||||
#include "pool-buffer.h"
|
||||
|
||||
static int anonymous_shm_open(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue