diff options
author | Simon Glass <sjg@chromium.org> | 2019-08-02 09:44:19 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-11 16:43:41 -0400 |
commit | 25e51e90feec10b7d534b123cd9c4ed7a3a2dc1a (patch) | |
tree | fc6dd40cf12d0e17ef95c9acf06d5357c002e336 /include/search.h | |
parent | dd2408cac1ea0f5e9ab4b07539c6edaee57918cb (diff) | |
download | u-boot-25e51e90feec10b7d534b123cd9c4ed7a3a2dc1a.tar.gz |
env: Drop _ENTRY
This typedef does not need to be defined in the search.h header since it
is only used in one file (hashtable.c). Remove it from the header and
change it to a struct.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/search.h')
-rw-r--r-- | include/search.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/search.h b/include/search.h index 81745a917d..c99648f80b 100644 --- a/include/search.h +++ b/include/search.h @@ -34,9 +34,6 @@ struct env_entry { int flags; }; -/* Opaque type for internal use. */ -struct _ENTRY; - /* * Family of hash table handling functions. The functions also * have reentrant counterparts ending with _r. The non-reentrant @@ -45,7 +42,7 @@ struct _ENTRY; /* Data type for reentrant functions. */ struct hsearch_data { - struct _ENTRY *table; + struct env_entry_node *table; unsigned int size; unsigned int filled; /* |