浏览代码

examples: update do_reset prototype

One more place that was missed during the do_reset() unification.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 14 年之前
父节点
当前提交
e0306cab09
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      examples/api/libgenwrap.c

+ 2 - 1
examples/api/libgenwrap.c

@@ -81,9 +81,10 @@ void __udelay(unsigned long usec)
 	ub_udelay(usec);
 }
 
-void do_reset (void)
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 	ub_reset();
+	return 0;
 }
 
 void *malloc (size_t len)