* include/grub/util/getroot.h (grub_get_prefix): Remove prototype.

* util/getroot.c [__CYGWIN__] (get_win32_path): Remove function.
	(grub_get_prefix): Remove function.
	* util/grub-emu.c (main): Replace grub_get_prefix () call by
	make_system_path_relative_to_its_root ().
	* util/sparc64/ieee1275/grub-setup.c (main): Likewise.
This commit is contained in:
Christian Franke 2010-04-26 03:35:55 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 553c01f958
commit 460d8402e0
5 changed files with 13 additions and 101 deletions

View file

@ -627,7 +627,8 @@ main (int argc, char *argv[])
find_dest_dev (&ginfo, argv);
ginfo.prefix = grub_get_prefix (ginfo.dir ? : DEFAULT_DIRECTORY);
ginfo.prefix = make_system_path_relative_to_its_root (ginfo.dir ?
: DEFAULT_DIRECTORY);
check_root_dev (&ginfo);