From c0559be371b2a64b1a817088c3308688e2182f93 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Mon, 14 Apr 2008 23:01:50 +0200 Subject: Change env_get_char from a global function ptr to a function. This avoids an early global data reference. Signed-off-by: Joakim Tjernlund --- common/cmd_nvedit.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'common/cmd_nvedit.c') diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index cab727f76..dc05f68bf 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -68,9 +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); -- cgit v1.2.3