2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
commit98d720dad4271eafcfbaa6426c05b40505add44b
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 23 Aug 2009 11:46:25 +0000 (23 11:46 +0000)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 23 Aug 2009 11:46:25 +0000 (23 11:46 +0000)
tree317359723d302f165fcd44d15d6df047bf6f431f
parent9ea7478754dbe3589afa352e6f64350f2f9521bd
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/bsd.c (freebsd_opts): Rewritten to use extcmd.
(openbsd_opts): Likewise.
(netbsd_opts): Likewise.
(freebsd_flags): Added 0 terminator.
(openbsd_flags): Likewise.
(netbsd_flags): Likewise.
(grub_bsd_parse_flags): Rewritten to use extcmd. All users updated.
(grub_cmd_freebsd): Transformed into extended command.
(grub_cmd_openbsd): Likewise.
(grub_cmd_netbsd): Likewise.
(cmd_freebsd): Changed type to grub_extcmd_t.
(cmd_openbsd): Likewise.
(cmd_netbsd): Likewise.
(GRUB_MOD_INIT (bsd)): Register grub_cmd_freebsd, grub_cmd_netbsd and
grub_cmd_openbsd as extended commands.
(GRUB_MOD_FINI (bsd)): Use grub_unregister_extcmd for cmd_freebsd,
cmd_netbsd and cmd_openbsd

git-svn-id: svn://svn.savannah.gnu.org/grub/trunk/grub2@2512 d0de0278-0dc1-4c01-8a07-af38b3205e46
ChangeLog
loader/i386/bsd.c