Parcourir la source

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 il y a 14 ans
Parent
commit
e0306cab09
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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)