pull these headers only into files that need them.

ok oga@
This commit is contained in:
okan 2009-12-15 03:34:34 +00:00
parent 2ad2b5f31d
commit b27c3c22b5
6 changed files with 9 additions and 4 deletions

View File

@ -18,6 +18,9 @@
* $Id$
*/
#include <getopt.h>
#include <signal.h>
#include "calmwm.h"
Display *X_Dpy;

View File

@ -26,13 +26,9 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <dirent.h>
#include <getopt.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

View File

@ -18,6 +18,8 @@
* $Id$
*/
#include <assert.h>
#include "calmwm.h"
static struct client_ctx *client_mrunext(struct client_ctx *);

View File

@ -19,6 +19,8 @@
* $Id$
*/
#include <assert.h>
#include "calmwm.h"
static void group_add(struct group_ctx *, struct client_ctx *);

View File

@ -18,6 +18,7 @@
* $Id$
*/
#include <dirent.h>
#include <paths.h>
#include "calmwm.h"

View File

@ -17,6 +17,7 @@
* $Id$
*/
#include <assert.h>
#include <fnmatch.h>
#include "calmwm.h"