menu: export menu_default_choice() function
authorAnatolij Gustschin <agust@denx.de>
Sat, 23 Mar 2013 14:52:04 +0000 (14:52 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 29 Mar 2013 08:35:34 +0000 (09:35 +0100)
commit6a3439fdadb7b98e72883b90eb717a04cd748e44
tree4b40cfc6aa5328cd72557d9d4d95f3720301e7d3
parentfc9d64ffcd94c1e22675830eae13956cc4fd822d
menu: export menu_default_choice() function

Checking the default menu item and obtaining its data can
be useful in custom menu code. Export menu_default_choice()
function which serves this purpose.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/menu.c
doc/README.menu
include/menu.h