eal/linux: fix build with glibc < 2.12
[dpdk.git] / lib / librte_eal / linuxapp / eal / eal_thread.c
index 8c3bf03..9f88530 100644 (file)
@@ -206,5 +206,7 @@ int rte_thread_setname(pthread_t id, const char *name)
        ret = pthread_setname_np(id, name);
 #endif
 #endif
+       RTE_SET_USED(id);
+       RTE_SET_USED(name);
        return ret;
 }