hdt: Get rid of nb_modules in struct cli_module_descr
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Fri, 17 Apr 2009 21:35:52 +0000 (14:35 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Fri, 17 Apr 2009 21:35:52 +0000 (14:35 -0700)
commitcb41ba728891e20af42d436526fbcd8a4a33ab5a
tree1e258c62c8743f12e43520a31d58f1ecc23a80c0
parent780c8f8361ff8f6ebd3b4b4a82e991c81c0c3562
hdt: Get rid of nb_modules in struct cli_module_descr

End list of modules commands by NULL instead of managing manually
the number in nb_modules. This should limit the number of bugs when adding new
features.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-cpu.c
com32/hdt/hdt-cli-dmi.c
com32/hdt/hdt-cli-hdt.c
com32/hdt/hdt-cli-kernel.c
com32/hdt/hdt-cli-pci.c
com32/hdt/hdt-cli-pxe.c
com32/hdt/hdt-cli-syslinux.c
com32/hdt/hdt-cli-vesa.c
com32/hdt/hdt-cli.c
com32/hdt/hdt-cli.h