utils: use g_str_has_prefix() instead of prefixcmp()

Remove duplicated code from MPD.
This commit is contained in:
Max Kellermann
2008-10-28 20:33:56 +01:00
parent 4a71f66256
commit 016d996131
10 changed files with 28 additions and 35 deletions

View File

@@ -104,6 +104,4 @@ void xpthread_mutex_destroy(pthread_mutex_t *mutex);
void xpthread_cond_destroy(pthread_cond_t *cond);
int prefixcmp(const char *str, const char *prefix);
#endif