aboutsummaryrefslogtreecommitdiffstats
path: root/libibex
diff options
context:
space:
mode:
Diffstat (limited to 'libibex')
-rw-r--r--libibex/ChangeLog1
-rw-r--r--libibex/block.h3
-rw-r--r--libibex/ibex_internal.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/libibex/ChangeLog b/libibex/ChangeLog
index 4b0055ed4b..5b17e39148 100644
--- a/libibex/ChangeLog
+++ b/libibex/ChangeLog
@@ -5,6 +5,7 @@
* ibex_internal.h (IBEX_VERSION): Bumped version again. This time
I did change the index format.
+ (IBEX_VERSION): moved into block.h
* hash.c (struct _hashroot): Add a linked list of keys to the table.
(struct _hashblock): Added a next pointer as a block number.
diff --git a/libibex/block.h b/libibex/block.h
index 6de33281b4..dbc8fd5ad8 100644
--- a/libibex/block.h
+++ b/libibex/block.h
@@ -8,6 +8,9 @@
#include <glib.h>
+/* version of file format */
+#define IBEX_VERSION "ibx6"
+
typedef guint32 nameid_t;
typedef guint32 blockid_t;
diff --git a/libibex/ibex_internal.h b/libibex/ibex_internal.h
index 1a1e968661..0eb4b625ce 100644
--- a/libibex/ibex_internal.h
+++ b/libibex/ibex_internal.h
@@ -24,8 +24,6 @@
#include "block.h"
#include "wordindex.h"
-#define IBEX_VERSION "ibx6"
-
struct ibex {
char *path;
struct _memcache *blocks;