commit 4dce9d067b6d55e552298e18dda4b264fbcf1a44
parent d1ead722a24cabc4cde5288fc055ee92c2a507a2
Author: Kris Maglione <jg@suckless.org>
Date: Sun, 4 Mar 2007 13:54:02 -0500
Include wmii.h last.
Diffstat:
14 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/area.c b/area.c
@@ -2,12 +2,12 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
+#include "wmii.h"
static void place_client(Area *a, Client *c);
diff --git a/bar.c b/bar.c
@@ -2,10 +2,10 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>
+#include "wmii.h"
Bar *free_bars = nil;
diff --git a/client.c b/client.c
@@ -2,11 +2,11 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <X11/Xatom.h>
+#include "wmii.h"
static void update_client_name(Client *c);
diff --git a/column.c b/column.c
@@ -2,11 +2,11 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include "wmii.h"
char *
str_of_column_mode(int mode) {
diff --git a/draw.c b/draw.c
@@ -1,10 +1,10 @@
/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "wmii.h"
uint
textwidth_l(BlitzFont *font, char *text, uint len) {
diff --git a/event.c b/event.c
@@ -2,11 +2,11 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <X11/keysym.h>
+#include "wmii.h"
#include "printevent.h"
uint
diff --git a/frame.c b/frame.c
@@ -1,9 +1,9 @@
/* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <stdlib.h>
#include <string.h>
+#include "wmii.h"
Frame *
create_frame(Client *c, View *v) {
diff --git a/fs.c b/fs.c
@@ -1,13 +1,13 @@
/* (C)opyright MMVI Kris Maglione <fbsdaemon at gmail dot com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include "wmii.h"
/* Datatypes: */
diff --git a/key.c b/key.c
@@ -1,11 +1,11 @@
/* (C)opyright MMIV-MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <string.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
+#include "wmii.h"
void
init_lock_keys() {
diff --git a/main.c b/main.c
@@ -2,7 +2,6 @@
* (C)opyright MMVI-MMVII Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <X11/Xatom.h>
#include <X11/Xproto.h>
#include <X11/cursorfont.h>
@@ -18,6 +17,7 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
+#include "wmii.h"
static Bool check_other_wm;
static int (*x_error_handler) (Display *, XErrorEvent *);
diff --git a/mouse.c b/mouse.c
@@ -1,10 +1,10 @@
/* (C)opyright MMVI Kris Maglione <fbsdaemon@gmail.com>
* See LICENSE file for license details.
*/
-#include "wmii.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include "wmii.h"
enum {
ButtonMask =
diff --git a/printevent.c b/printevent.c
@@ -43,10 +43,10 @@ can get it touch with me at the following location:
ken@richsun.UUCP
*/
-#include "wmii.h"
#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/Xproto.h>
+#include "wmii.h"
#include "printevent.h"
static char* sep = " ";
diff --git a/util.c b/util.c
@@ -1,10 +1,10 @@
/* Written by Kris Maglione <fbsdaemon at gmail dot com> */
/* Public domain */
-#include "wmii.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "wmii.h"
void
fatal(const char *fmt, ...) {
diff --git a/view.c b/view.c
@@ -6,7 +6,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-
#include "wmii.h"
static Bool