aboutsummaryrefslogtreecommitdiff
path: root/modutils/modutils.c
diff options
context:
space:
mode:
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 44dae7bc5..0f6cb0f2d 100644
--- a/modutils/modutils.c
+++ b/modutils/modutils.c
@@ -16,19 +16,6 @@ extern int delete_module(const char *module, unsigned int flags);
16# define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags) 16# define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags)
17#endif 17#endif
18 18
19/*
20 a libbb candidate from ice age!
21*/
22llist_t FAST_FUNC *llist_find(llist_t *first, const char *str)
23{
24 while (first != NULL) {
25 if (strcmp(first->data, str) == 0)
26 return first;
27 first = first->link;
28 }
29 return NULL;
30}
31
32void FAST_FUNC replace(char *s, char what, char with) 19void FAST_FUNC replace(char *s, char what, char with)
33{ 20{
34 while (*s) { 21 while (*s) {