summaryrefslogtreecommitdiff
path: root/include/asm-arm/u-boot-arm.h
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@harris.com>2008-06-12 13:22:12 -0400
committerWolfgang Denk <wd@denx.de>2008-07-01 23:03:14 +0200
commit75678c807a6272ecc5541eb32898c93887f08400 (patch)
tree6bfbb1388af69cc3ec8627d305f74a097fdeb24a /include/asm-arm/u-boot-arm.h
parent4928e97c8531283ca9b368b7c29a8a12e726562a (diff)
Make setenv() return status
Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by: Steve Falco <sfalco@harris.com>
Diffstat (limited to 'include/asm-arm/u-boot-arm.h')
-rw-r--r--include/asm-arm/u-boot-arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/u-boot-arm.h b/include/asm-arm/u-boot-arm.h
index 41e7a8f7d..4ee5a327e 100644
--- a/include/asm-arm/u-boot-arm.h
+++ b/include/asm-arm/u-boot-arm.h
@@ -52,7 +52,7 @@ void setup_revision_tag (struct tag **params);
/* To be fixed! */
/* ------------------------------------------------------------ */
/* common/cmd_nvedit.c */
-void setenv (char *, char *);
+int setenv (char *, char *);
/* cpu/.../interrupt.c */
void reset_timer_masked (void);