remove a bunch of useless #include-s
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c954c33261
commit
737a70f60c
9
client.c
9
client.c
|
@ -19,24 +19,15 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_atom.h>
|
||||
|
||||
#include "cnode.h"
|
||||
#include "image.h"
|
||||
#include "client.h"
|
||||
#include "tag.h"
|
||||
#include "window.h"
|
||||
#include "ewmh.h"
|
||||
#include "widget.h"
|
||||
#include "screen.h"
|
||||
#include "titlebar.h"
|
||||
#include "luaa.h"
|
||||
#include "mouse.h"
|
||||
#include "systray.h"
|
||||
#include "wibox.h"
|
||||
#include "property.h"
|
||||
#include "layouts/floating.h"
|
||||
#include "common/markup.h"
|
||||
|
|
3
client.h
3
client.h
|
@ -22,9 +22,6 @@
|
|||
#ifndef AWESOME_CLIENT_H
|
||||
#define AWESOME_CLIENT_H
|
||||
|
||||
#include <xcb/xcb_icccm.h>
|
||||
|
||||
#include "structs.h"
|
||||
#include "mouse.h"
|
||||
#include "stack.h"
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#ifndef AWESOME_COMMON_ARRAY_H
|
||||
#define AWESOME_COMMON_ARRAY_H
|
||||
|
||||
#include <assert.h>
|
||||
#include "common/util.h"
|
||||
|
||||
#define ARRAY_TYPE(type_t, pfx) \
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#ifndef AWESOME_COMMON_XUTIL_H
|
||||
#define AWESOME_COMMON_XUTIL_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <xcb/xcb.h>
|
||||
#include <xcb/xcb_keysyms.h>
|
||||
#include <xcb/xcb_aux.h>
|
||||
|
|
1
draw.c
1
draw.c
|
@ -26,7 +26,6 @@
|
|||
#include <langinfo.h>
|
||||
#include <iconv.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#include <X11/Xlib.h>
|
||||
|
||||
#include "structs.h"
|
||||
#include "common/refcount.h"
|
||||
#include "common/array.h"
|
||||
#include "keybinding.h"
|
||||
|
||||
ARRAY_TYPE(keybinding_t *, keybinding)
|
||||
|
|
3
mouse.c
3
mouse.c
|
@ -22,12 +22,9 @@
|
|||
#include <math.h>
|
||||
|
||||
#include "common/tokenize.h"
|
||||
#include "mouse.h"
|
||||
#include "screen.h"
|
||||
#include "tag.h"
|
||||
#include "client.h"
|
||||
#include "titlebar.h"
|
||||
#include "wibox.h"
|
||||
#include "layouts/floating.h"
|
||||
#include "layouts/tile.h"
|
||||
#include "layouts/magnifier.h"
|
||||
|
|
|
@ -22,15 +22,12 @@
|
|||
#ifndef AWESOME_STRUCTS_H
|
||||
#define AWESOME_STRUCTS_H
|
||||
|
||||
#include <xcb/xcb_event.h>
|
||||
#include <xcb/xcb_icccm.h>
|
||||
#include <xcb/xcb_property.h>
|
||||
#include <ev.h>
|
||||
|
||||
#include "luaa.h"
|
||||
#include "layout.h"
|
||||
#include "swindow.h"
|
||||
#include "image.h"
|
||||
#include "common/xutil.h"
|
||||
#include "common/xembed.h"
|
||||
#include "common/refcount.h"
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#ifndef AWESOME_TITLEBAR_H
|
||||
#define AWESOME_TITLEBAR_H
|
||||
|
||||
#include "structs.h"
|
||||
#include "wibox.h"
|
||||
|
||||
client_t * client_getbytitlebar(wibox_t *);
|
||||
|
|
Loading…
Reference in New Issue