diff options
| author | Grissiom <[email protected]> | 2013-08-31 17:58:34 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-08-31 17:58:34 +0800 |
| commit | c05b2053904dbcef44a000230860b56586c87a71 (patch) | |
| tree | d890de38fcfeb05167c09ea1fbb1f7902382df8b /libcpu | |
| parent | f7f14cf566e5c3dbf92a0b7a52667ac702792282 (diff) | |
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.
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions
