# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1196956532 -3600 # Node ID b26a96a5da69c7ed8bb24ba6f8e8577f7b8f480d # Parent e637466e4512fd5a7d763da9e9ef04f2f9ba3305 change code a bit to avoid using strncasecmp which gives a warning here diff -r e637466e4512 -r b26a96a5da69 src/audacious/signals.c --- a/src/audacious/signals.c Thu Dec 06 05:29:41 2007 +0300 +++ b/src/audacious/signals.c Thu Dec 06 16:55:32 2007 +0100 @@ -23,14 +23,10 @@ #include #include -#include #include #include -#include -#include #include /* for pthread_sigmask() */ #include -#include #ifdef HAVE_EXECINFO_H # include @@ -245,7 +241,7 @@ gchar str[1024]; confstr(_CS_GNU_LIBPTHREAD_VERSION, str, sizeof(str)); - if (!strncasecmp("linuxthreads", str, 12)) + if (g_ascii_strncasecmp("linuxthreads", str, 12) == 0) return TRUE; } #endif