diff options
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 dae623ee4..6f7cd9721 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 76ce242ba..4a702e97c 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 |