diff options
author | Wolfgang Denk <wd@denx.de> | 2013-03-23 23:50:29 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-01 16:24:00 -0400 |
commit | 5a31ea04c9ee5544fbb70ad7597ea4b294840eab (patch) | |
tree | a6a8c141675e4a4f712aa05b9d2aa5792a0309dd /include | |
parent | ea009d4743ab4b801703982086e053e74266ff4c (diff) | |
download | u-boot-imx-5a31ea04c9ee5544fbb70ad7597ea4b294840eab.zip u-boot-imx-5a31ea04c9ee5544fbb70ad7597ea4b294840eab.tar.gz u-boot-imx-5a31ea04c9ee5544fbb70ad7597ea4b294840eab.tar.bz2 |
"env grep" - reimplement command using hexport_r()
Also drop hstrstr_r() which is not needed any more.
The new code is way more flexible.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/search.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/search.h b/include/search.h index 9d9abd6..d06a201 100644 --- a/include/search.h +++ b/include/search.h @@ -98,12 +98,6 @@ extern int hsearch_r(ENTRY __item, ACTION __action, ENTRY ** __retval, */ extern int hmatch_r(const char *__match, int __last_idx, ENTRY ** __retval, struct hsearch_data *__htab); -/* - * Search for an entry whose key or data contains `MATCH'. Otherwise, - * Same semantics as hsearch_r(). - */ -extern int hstrstr_r(const char *__match, int __last_idx, ENTRY ** __retval, - struct hsearch_data *__htab); /* Search and delete entry matching ITEM.key in internal hash table. */ extern int hdelete_r(const char *__key, struct hsearch_data *__htab, |