summaryrefslogtreecommitdiff
path: root/include/environment.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:47:01 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commitb5f449e8e947cf94055d0300a8625cd6bc9c37f5 (patch)
tree5a74e19935a5434d8e733f8eb93e1e9dd5df4a90 /include/environment.h
parent0ac7d722ede8e64973f68dbcd07b9521ba04cb63 (diff)
env: Move env_get_char() to env.h
Move env_get_char() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/environment.h b/include/environment.h
index ef391cc21a..ea45b57628 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -265,16 +265,6 @@ struct env_driver {
extern struct hsearch_data env_htab;
-/**
- * env_get_char() - Get a character from the early environment
- *
- * This reads from the pre-relocation environment
- *
- * @index: Index of character to read (0 = first)
- * @return character read, or -ve on error
- */
-int env_get_char(int index);
-
#endif /* DO_DEPS_ONLY */
#endif /* _ENVIRONMENT_H_ */