Skip to contentSkip to conversation

examples: update do_reset prototype

PATCH New Mike Frysinger 2 participants 3 messages Dec 19, 2010 – Jan 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples: update do_reset prototype

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

---
 examples/api/libgenwrap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
examples/api/libgenwrap.c +2 -1
index 9733bbc..873cf34 100644
@@ -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)
Signature · 1 line
1.7.3.4
#2 lore raw

PATCH 1/1 examples: update do_reset prototype

In reply to Mike Frysinger

Dear Mike Frysinger,

Quoted 6 lines · In message <[email protected]> you wrote:

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

---
 examples/api/libgenwrap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
C makes it easy for you to shoot yourself in the foot. C++ makes that
harder, but when you do, it blows away your whole leg.
                                                 -- Bjarne Stroustrup