a5bd9f6
From 1c71a6e0aa77b119cb196b296aff5393246c541d Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Fri, 5 Apr 2013 10:31:12 +0200
a5bd9f6
Subject: [PATCH 258/364] 	Move GRUB_CHAR_BIT to types.h.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog            | 4 ++++
a5bd9f6
 include/grub/misc.h  | 2 --
a5bd9f6
 include/grub/types.h | 2 ++
a5bd9f6
 3 files changed, 6 insertions(+), 2 deletions(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index d63c0e5..3008ff0 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,7 @@
a5bd9f6
+2013-04-05  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
+	Move GRUB_CHAR_BIT to types.h.
a5bd9f6
+
a5bd9f6
 2013-04-04  Andrey Borzenkov <arvidjaar@gmail.com>
a5bd9f6
 
a5bd9f6
 	* docs/grub.texi: Document more user commands.
a5bd9f6
diff --git a/include/grub/misc.h b/include/grub/misc.h
a5bd9f6
index 0ea5114..c953a00 100644
a5bd9f6
--- a/include/grub/misc.h
a5bd9f6
+++ b/include/grub/misc.h
a5bd9f6
@@ -481,6 +481,4 @@ void EXPORT_FUNC(grub_real_boot_time) (const char *file,
a5bd9f6
 #define grub_max(a, b) (((a) > (b)) ? (a) : (b))
a5bd9f6
 #define grub_min(a, b) (((a) < (b)) ? (a) : (b))
a5bd9f6
 
a5bd9f6
-#define GRUB_CHAR_BIT 8
a5bd9f6
-
a5bd9f6
 #endif /* ! GRUB_MISC_HEADER */
a5bd9f6
diff --git a/include/grub/types.h b/include/grub/types.h
a5bd9f6
index 22d1be7..7c56f40 100644
a5bd9f6
--- a/include/grub/types.h
a5bd9f6
+++ b/include/grub/types.h
a5bd9f6
@@ -300,4 +300,6 @@ static inline void grub_set_unaligned64 (void *ptr, grub_uint64_t val)
a5bd9f6
   dd->d = val;
a5bd9f6
 }
a5bd9f6
 
a5bd9f6
+#define GRUB_CHAR_BIT 8
a5bd9f6
+
a5bd9f6
 #endif /* ! GRUB_TYPES_HEADER */
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6