summaryrefslogtreecommitdiff
path: root/api/api.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-14 12:22:49 +0200
committerWolfgang Denk <wd@denx.de>2008-05-14 12:22:49 +0200
commita8409f4f1ac84c36273c1a1e341189662521bcfb (patch)
tree2f3c4e36b8fdb134a1a67624262d863ceb949ef8 /api/api.c
parentcf39b07948015c480b72a6e732cf7d839aa93a9e (diff)
environment: cleanup prototype declarations of env functions.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'api/api.c')
-rw-r--r--api/api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/api.c b/api/api.c
index 1ee7c68f7af..19c71540c03 100644
--- a/api/api.c
+++ b/api/api.c
@@ -30,6 +30,7 @@
#include <command.h>
#include <common.h>
#include <malloc.h>
+#include <environment.h>
#include <linux/types.h>
#include <api_public.h>
@@ -40,8 +41,6 @@
/* U-Boot routines needed */
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
-extern uchar (*env_get_char)(int);
-extern uchar *env_get_addr(int);
/*****************************************************************************
*