From cdefccb7f266c12c6633c3e0cef629b804d9f855 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Mon, 13 Apr 2009 23:49:21 -0300
Subject: [PATCH 20/38] Move disk constants to an internal header

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 libjio/libjio.h |    4 ----
 libjio/trans.h  |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libjio/libjio.h b/libjio/libjio.h
index e922791..8819159 100644
--- a/libjio/libjio.h
+++ b/libjio/libjio.h
@@ -121,10 +121,6 @@ FILE *jfsopen(struct jfs *stream, const char *mode);
 #define J_ROLLBACKING	32	/* mark a transaction as rollbacking */
 #define J_RDONLY	64	/* mark a file as read-only */
 
-/* disk constants */
-#define J_DISKHEADSIZE	 12	/* length of disk_header */
-#define J_DISKOPHEADSIZE 16	/* length of disk_operation header */
-
 /* jfsck constants (return values) */
 #define J_ESUCCESS	0	/* success - shouldn't be used */
 #define J_ENOENT	-1	/* no such file */
diff --git a/libjio/trans.h b/libjio/trans.h
index 954ec62..94ae9b7 100644
--- a/libjio/trans.h
+++ b/libjio/trans.h
@@ -40,6 +40,10 @@ struct disk_operation {
 	char *prevdata;		/* previous data for rollback */
 };
 
+/* disk constants */
+#define J_DISKHEADSIZE	 12	/* length of disk_header */
+#define J_DISKOPHEADSIZE 16	/* length of disk_operation header */
+
 
 #endif
 
-- 
1.6.2.2.646.gb214

