summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:21:51 -0600
committerTom Rini <trini@konsulko.com>2017-08-15 08:18:46 -0400
commitbcdfb8d5a531fbc65dceb60b4205f5a0fbd49a97 (patch)
tree7b7ff9de4db88ac70ee0654c3eba6de6d038602a /include
parent91d3aa05d0bb05aa712bda3d2a2b3957a4b551fe (diff)
env: common: Make env_get_addr/get_char_memory() static
These functions are not used outside this file. Make them static and order them to avoid forward declarations. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/environment.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/environment.h b/include/environment.h
index d86230a2e9..5f2064bf23 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -202,10 +202,6 @@ extern struct hsearch_data env_htab;
/* Function that returns a character from the environment */
unsigned char env_get_char(int);
-/* Function that returns a pointer to a value from the environment */
-const unsigned char *env_get_addr(int);
-unsigned char env_get_char_memory(int index);
-
/* Function that updates CRC of the enironment */
void env_crc_update(void);