]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - api/api.c
environment: cleanup prototype declarations of env functions.
[karo-tx-uboot.git] / api / api.c
index 1ee7c68f7afc64b74263e51c611e2604f91b291f..19c71540c0387f46dc480989404ed6394ee7b9cb 100644 (file)
--- 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);
 
 /*****************************************************************************
  *