Add missed #ifdef statement of tash_reboot
authorjunmin kim <junmindd.kim@samsung.com>
Fri, 18 Aug 2017 07:50:09 +0000 (00:50 -0700)
committerjunmin kim <junmindd.kim@samsung.com>
Fri, 18 Aug 2017 07:50:09 +0000 (00:50 -0700)
apps/shell/tash_command.c

index d224009..13e041a 100644 (file)
@@ -82,7 +82,9 @@ struct tash_cmd_info_s {
 
 static int tash_help(int argc, char **args);
 static int tash_exit(int argc, char **args);
+#if defined(CONFIG_BOARDCTL_RESET)
 static int tash_reboot(int argc, char **argv);
+#endif
 
 extern tash_taskinfo_t tash_taskinfo_list[];
 /****************************************************************************