diff options
author | Denys Vlasenko | 2017-06-28 19:10:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-06-28 19:10:29 +0200 |
commit | ae2b9f286c985394410aec19b12c1ebecfbe20f6 (patch) | |
tree | e4f0e03f1b8f8a18bfe604dc2a03f12684981bcc /modutils | |
parent | 470bebe672fa179c89c0b04ee252ca564e8ee4d5 (diff) | |
download | busybox-ae2b9f286c985394410aec19b12c1ebecfbe20f6.zip busybox-ae2b9f286c985394410aec19b12c1ebecfbe20f6.tar.gz |
modutils: delete unused replace_underscores()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/modutils.c | 6 | ||||
-rw-r--r-- | modutils/modutils.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/modutils/modutils.c b/modutils/modutils.c index dae623e..6f7cd97 100644 --- a/modutils/modutils.c +++ b/modutils/modutils.c @@ -75,12 +75,6 @@ void FAST_FUNC replace(char *s, char what, char with) } } -char* FAST_FUNC replace_underscores(char *s) -{ - replace(s, '-', '_'); - return s; -} - int FAST_FUNC string_to_llist(char *string, llist_t **llist, const char *delim) { char *tok; diff --git a/modutils/modutils.h b/modutils/modutils.h index 76ce242..4a702e9 100644 --- a/modutils/modutils.h +++ b/modutils/modutils.h @@ -48,7 +48,6 @@ module_entry *moddb_get_or_create(module_db *db, const char *s) FAST_FUNC; void moddb_free(module_db *db) FAST_FUNC; void replace(char *s, char what, char with) FAST_FUNC; -char *replace_underscores(char *s) FAST_FUNC; int string_to_llist(char *string, llist_t **llist, const char *delim) FAST_FUNC; char *filename2modname(const char *filename, char *modname) FAST_FUNC; #if ENABLE_FEATURE_CMDLINE_MODULE_OPTIONS |