# HG changeset patch # User Stu Tomlinson # Date 1174150105 0 # Node ID 94867b2f38f571ffc14c84ead0b90c1890c4ae42 # Parent 682022b8a1294f8c56ec7a3117a1097d0be16a90 Re-order includes to fix this compile error: In file included from gntwm.c:9: gntwm.h:166: error: syntax error before 'gnt_wm_get_idle_time' gntwm.h:166: warning: data definition has no type or storage class gntwm.c:1218: error: conflicting types for 'gnt_wm_get_idle_time' gntwm.h:166: error: previous declaration of 'gnt_wm_get_idle_time' was here diff -r 682022b8a129 -r 94867b2f38f5 console/libgnt/gntmain.c --- a/console/libgnt/gntmain.c Fri Mar 16 20:53:24 2007 +0000 +++ b/console/libgnt/gntmain.c Sat Mar 17 16:48:25 2007 +0000 @@ -7,6 +7,9 @@ #include +#include +#include + #include "gnt.h" #include "gntbox.h" #include "gntcolors.h" @@ -29,9 +32,6 @@ #include #include -#include -#include - /** * Notes: Interesting functions to look at: * scr_dump, scr_init, scr_restore: for workspaces diff -r 682022b8a129 -r 94867b2f38f5 console/libgnt/gntwm.c --- a/console/libgnt/gntwm.c Fri Mar 16 20:53:24 2007 +0000 +++ b/console/libgnt/gntwm.c Sat Mar 17 16:48:25 2007 +0000 @@ -5,6 +5,10 @@ #include "config.h" +#include +#include +#include + #include "gntwm.h" #include "gntstyle.h" #include "gntmarshal.h" @@ -15,10 +19,6 @@ #include "gnttree.h" #include "gntutils.h" -#include -#include -#include - #define IDLE_CHECK_INTERVAL 5 /* 5 seconds */ enum diff -r 682022b8a129 -r 94867b2f38f5 console/libgnt/wms/s.c --- a/console/libgnt/wms/s.c Fri Mar 16 20:53:24 2007 +0000 +++ b/console/libgnt/wms/s.c Sat Mar 17 16:48:25 2007 +0000 @@ -1,3 +1,6 @@ +#include +#include + #include "gnt.h" #include "gntbox.h" #include "gntmenu.h" @@ -8,8 +11,6 @@ #include "blist.h" -#include - #define TYPE_S (s_get_gtype()) typedef struct _S