* include/grub/datetime.h (grub_get_datetime_cmos): Don't define in

GRUB_UTIL.
	(grub_set_datetime_cmos): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-18 14:01:11 +01:00
parent 3ec0fc1c3b
commit 34e4208ffe
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/datetime.h (grub_get_datetime_cmos): Don't define in
GRUB_UTIL.
(grub_set_datetime_cmos): Likewise.
2012-01-18 Vladimir Serbinenko <phcoder@gmail.com>
Make XZ compression parameters dependent on target and not host CPU.

View file

@ -125,7 +125,7 @@ grub_datetime2unixtime (const struct grub_datetime *datetime, grub_int32_t *nix)
return 1;
}
#if defined (__powerpc__) || defined (__sparc__)
#if (defined (__powerpc__) || defined (__sparc__)) && !defined (GRUB_UTIL)
grub_err_t
grub_get_datetime_cmos (struct grub_datetime *datetime);
grub_err_t