aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2001-03-26 19:23:28 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2001-03-26 19:23:28 +0800
commit69af2a1b0470d0df62f6b28e0e4c87465343198b (patch)
tree61fcc91fa733339a66032eaf7279c2ac66f5d6c6
parent5fe6e035ed8d47b13d151ca556197f8832b18c81 (diff)
downloadgsoc2013-evolution-69af2a1b0470d0df62f6b28e0e4c87465343198b.tar.gz
gsoc2013-evolution-69af2a1b0470d0df62f6b28e0e4c87465343198b.tar.zst
gsoc2013-evolution-69af2a1b0470d0df62f6b28e0e4c87465343198b.zip
Header shuffling. Move glibc headers before gnome stuff. Same here. Added
2001-03-26 Kjartan Maraas <kmaraas@gnome.org> * disktail.c: Header shuffling. Move glibc headers before gnome stuff. * testindex.c: Same here. * wordindexmem.c: Added <string.h> and <stdlib.h> to quench warnings from newer gcc. svn path=/trunk/; revision=8938
-rw-r--r--libibex/ChangeLog8
-rw-r--r--libibex/disktail.c5
-rw-r--r--libibex/testindex.c2
-rw-r--r--libibex/wordindexmem.c2
4 files changed, 13 insertions, 4 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog
index 2d3fe7bace..36d2764167 100644
--- a/libibex/ChangeLog
+++ b/libibex/ChangeLog
@@ -1,3 +1,11 @@
+2001-03-26 Kjartan Maraas <kmaraas@gnome.org>
+
+ * disktail.c: Header shuffling. Move glibc headers before
+ gnome stuff.
+ * testindex.c: Same here.
+ * wordindexmem.c: Added <string.h> and <stdlib.h> to quench
+ warnings from newer gcc.
+
2000-12-24 Not Zed <NotZed@HelixCode.com>
* Merge from camel-mt-branch.
diff --git a/libibex/disktail.c b/libibex/disktail.c
index 88f5ca6c55..d479b6aded 100644
--- a/libibex/disktail.c
+++ b/libibex/disktail.c
@@ -28,12 +28,11 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-
-#include <glib.h>
#include <string.h>
-
#include <stdio.h>
+#include <glib.h>
+
#include "block.h"
#include "index.h"
diff --git a/libibex/testindex.c b/libibex/testindex.c
index a3b6a9ce03..d06ff842d5 100644
--- a/libibex/testindex.c
+++ b/libibex/testindex.c
@@ -1,9 +1,9 @@
/* Test code for libibex */
#include <stdio.h>
-#include <glib.h>
#include <errno.h>
#include <string.h>
+#include <glib.h>
#include "ibex_internal.h"
#ifdef ENABLE_THREADS
diff --git a/libibex/wordindexmem.c b/libibex/wordindexmem.c
index 479e5b0343..a903d26504 100644
--- a/libibex/wordindexmem.c
+++ b/libibex/wordindexmem.c
@@ -33,7 +33,9 @@ of words, and could then be discarded (:flush()).
*/
+#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>