modutils: delete unused replace_underscores()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
470bebe672
commit
ae2b9f286c
@ -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)
|
int FAST_FUNC string_to_llist(char *string, llist_t **llist, const char *delim)
|
||||||
{
|
{
|
||||||
char *tok;
|
char *tok;
|
||||||
|
@ -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 moddb_free(module_db *db) FAST_FUNC;
|
||||||
|
|
||||||
void replace(char *s, char what, char with) 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;
|
int string_to_llist(char *string, llist_t **llist, const char *delim) FAST_FUNC;
|
||||||
char *filename2modname(const char *filename, char *modname) FAST_FUNC;
|
char *filename2modname(const char *filename, char *modname) FAST_FUNC;
|
||||||
#if ENABLE_FEATURE_CMDLINE_MODULE_OPTIONS
|
#if ENABLE_FEATURE_CMDLINE_MODULE_OPTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user