summaryrefslogtreecommitdiff
path: root/modutils/modutils.c
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-13 20:52:00 +0000
committerDenis Vlasenko2009-04-13 20:52:00 +0000
commit0b791d9a976e46b2705ae73046706ab9ac3768be (patch)
treec97a6ccdf5b8eb54ecac8991024fa8c80d01ff6e /modutils/modutils.c
parent4144504912954b0d31c5bbe5f13df5a4ec4f122a (diff)
downloadbusybox-0b791d9a976e46b2705ae73046706ab9ac3768be.zip
busybox-0b791d9a976e46b2705ae73046706ab9ac3768be.tar.gz
move llist_find_str from modutils to libbb
Diffstat (limited to 'modutils/modutils.c')
-rw-r--r--modutils/modutils.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c
index 44dae7b..0f6cb0f 100644
--- a/modutils/modutils.c
+++ b/modutils/modutils.c
@@ -16,19 +16,6 @@ extern int delete_module(const char *module, unsigned int flags);
# define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags)
#endif
-/*
- a libbb candidate from ice age!
-*/
-llist_t FAST_FUNC *llist_find(llist_t *first, const char *str)
-{
- while (first != NULL) {
- if (strcmp(first->data, str) == 0)
- return first;
- first = first->link;
- }
- return NULL;
-}
-
void FAST_FUNC replace(char *s, char what, char with)
{
while (*s) {