hdt: Cleanups in the DMI module
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 22 Mar 2009 00:11:16 +0000 (17:11 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 22 Mar 2009 00:16:30 +0000 (17:16 -0700)
commit684f956ad42030183f1aae7a892f87ed89142d52
treee74a4459b0543538a6ac4f5ae63ed59f1f95ad64
parent5276e1ac49f4ea445b326e5df5cc183023d5b985
hdt: Cleanups in the DMI module

Impact: Remove compilation warnings, Cleanups, DMI CLI output changed.

Add __unused macro to remove compilation warnings. argc and argv are
needed for consistency sake in the cli, but are not always used.

Slightly change the output of `list' to be more precise. It was
confusing for the first time user to list the modules with 'help' but
then have an error message when a module wasn't available.

Remove unused help function (there is a dynamic global one).

Misc.: move dprintf to the header file.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-dmi.c
com32/hdt/hdt-cli.h