aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2009-12-15 03:34:34 +0000
committerokan2009-12-15 03:34:34 +0000
commitfd91780e7c69b257bdffbf3807447d490e2adb48 (patch)
treec6165a9d7f710b1ee64f9f806e294000c052d40f
parent862a1793f0990088013563e197c67fe962ed8006 (diff)
downloadcwm-fd91780e7c69b257bdffbf3807447d490e2adb48.tar.gz
pull these headers only into files that need them.
ok oga@
-rw-r--r--calmwm.c5
-rw-r--r--calmwm.h6
-rw-r--r--client.c4
-rw-r--r--group.c4
-rw-r--r--kbfunc.c3
-rw-r--r--search.c3
6 files changed, 15 insertions, 10 deletions
diff --git a/calmwm.c b/calmwm.c
index 023e370..98d993c 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,9 +15,12 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.c,v 1.49 2009/12/15 03:24:36 okan Exp $
+ * $Id: calmwm.c,v 1.50 2009/12/15 03:34:34 okan Exp $
*/
+#include <getopt.h>
+#include <signal.h>
+
#include "calmwm.h"
Display *X_Dpy;
diff --git a/calmwm.h b/calmwm.h
index 7052c78..9a7e6b7 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.112 2009/12/15 03:26:22 okan Exp $
+ * $Id: calmwm.h,v 1.113 2009/12/15 03:34:34 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -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>
diff --git a/client.c b/client.c
index 41be5f5..dfa7718 100644
--- a/client.c
+++ b/client.c
@@ -15,9 +15,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: client.c,v 1.70 2009/12/15 03:24:36 okan Exp $
+ * $Id: client.c,v 1.71 2009/12/15 03:34:34 okan Exp $
*/
+#include <assert.h>
+
#include "calmwm.h"
static struct client_ctx *client_mrunext(struct client_ctx *);
diff --git a/group.c b/group.c
index 9f38959..49e48fd 100644
--- a/group.c
+++ b/group.c
@@ -16,9 +16,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: group.c,v 1.40 2009/12/15 03:24:36 okan Exp $
+ * $Id: group.c,v 1.41 2009/12/15 03:34:34 okan Exp $
*/
+#include <assert.h>
+
#include "calmwm.h"
static void group_add(struct group_ctx *, struct client_ctx *);
diff --git a/kbfunc.c b/kbfunc.c
index 198cb74..9e8691a 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -15,9 +15,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: kbfunc.c,v 1.48 2009/12/15 03:24:36 okan Exp $
+ * $Id: kbfunc.c,v 1.49 2009/12/15 03:34:34 okan Exp $
*/
+#include <dirent.h>
#include <paths.h>
#include "calmwm.h"
diff --git a/search.c b/search.c
index 3635fb0..dece575 100644
--- a/search.c
+++ b/search.c
@@ -14,9 +14,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: search.c,v 1.18 2009/12/15 03:24:36 okan Exp $
+ * $Id: search.c,v 1.19 2009/12/15 03:34:34 okan Exp $
*/
+#include <assert.h>
#include <fnmatch.h>
#include "calmwm.h"