aboutsummaryrefslogtreecommitdiffstats
path: root/libibex
diff options
context:
space:
mode:
Diffstat (limited to 'libibex')
-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>