summaryrefslogtreecommitdiffstats
path: root/common
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 /common
parentcf39b07948015c480b72a6e732cf7d839aa93a9e (diff)
downloadblackbird-obmc-uboot-a8409f4f1ac84c36273c1a1e341189662521bcfb.tar.gz
blackbird-obmc-uboot-a8409f4f1ac84c36273c1a1e341189662521bcfb.zip
environment: cleanup prototype declarations of env functions.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nvedit.c13
-rw-r--r--common/env_eeprom.c4
-rw-r--r--common/env_nvram.c3
-rw-r--r--common/ft_build.c3
4 files changed, 0 insertions, 23 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index cab727f76c..9c5d1fcb90 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -68,19 +68,6 @@ DECLARE_GLOBAL_DATA_PTR;
/************************************************************************
************************************************************************/
-/* Function that returns a character from the environment */
-extern uchar (*env_get_char)(int);
-
-/* Function that returns a pointer to a value from the environment */
-/* (Only memory version supported / needed). */
-extern uchar *env_get_addr(int);
-
-/* Function that updates CRC of the enironment */
-extern void env_crc_update (void);
-
-/************************************************************************
-************************************************************************/
-
/*
* Table with supported baudrates (defined in config_xyz.h)
*/
diff --git a/common/env_eeprom.c b/common/env_eeprom.c
index 2adc129c67..9e1a20194d 100644
--- a/common/env_eeprom.c
+++ b/common/env_eeprom.c
@@ -38,10 +38,6 @@ env_t *env_ptr = NULL;
char * env_name_spec = "EEPROM";
-extern uchar (*env_get_char)(int);
-extern uchar env_get_char_memory (int index);
-
-
uchar env_get_char_spec (int index)
{
uchar c;
diff --git a/common/env_nvram.c b/common/env_nvram.c
index 7c18896cb0..fa77719123 100644
--- a/common/env_nvram.c
+++ b/common/env_nvram.c
@@ -63,9 +63,6 @@ char * env_name_spec = "NVRAM";
extern uchar default_environment[];
extern int default_environment_size;
-extern uchar (*env_get_char)(int);
-extern uchar env_get_char_memory (int index);
-
#ifdef CONFIG_AMIGAONEG3SE
uchar env_get_char_spec (int index)
{
diff --git a/common/ft_build.c b/common/ft_build.c
index 0e5699a95b..b951178a1d 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -396,9 +396,6 @@ void *ft_get_prop(void *bphp, const char *propname, int *szp)
/********************************************************************/
-/* Function that returns a character from the environment */
-extern uchar(*env_get_char) (int);
-
void ft_setup(void *blob, bd_t * bd, ulong initrd_start, ulong initrd_end)
{
u32 *p;
OpenPOWER on IntegriCloud