RT-Thread/rt-thread — pull request #151 by grissiom (2013-09-02 07:02:35+00:00)
Title: finsh: use alias in the variable definition

With this patch, one could define two alias for the same function like:

FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu);
FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, __cmd_reboot, reboot the cpu);

Suitable for being used in MSH/Finsh.

tested compiling in GCC and Keil tool chain