Move GRUB_CHAR_BIT to types.h.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-05 10:31:12 +02:00
parent 16cc9f03a0
commit 0467a5ddf0
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-04-05 Vladimir Serbinenko <phcoder@gmail.com>
Move GRUB_CHAR_BIT to types.h.
2013-04-04 Andrey Borzenkov <arvidjaar@gmail.com>
* docs/grub.texi: Document more user commands.

View File

@ -481,6 +481,4 @@ void EXPORT_FUNC(grub_real_boot_time) (const char *file,
#define grub_max(a, b) (((a) > (b)) ? (a) : (b))
#define grub_min(a, b) (((a) < (b)) ? (a) : (b))
#define GRUB_CHAR_BIT 8
#endif /* ! GRUB_MISC_HEADER */

View File

@ -300,4 +300,6 @@ static inline void grub_set_unaligned64 (void *ptr, grub_uint64_t val)
dd->d = val;
}
#define GRUB_CHAR_BIT 8
#endif /* ! GRUB_TYPES_HEADER */