macro for pthread_equal

no sense bloating apps with a function call for an equality comparison...
This commit is contained in:
Rich Felker 2011-08-14 15:17:36 -04:00
commit 9205e48609
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
#include <pthread.h>
int pthread_equal(pthread_t a, pthread_t b)
int (pthread_equal)(pthread_t a, pthread_t b)
{
return a==b;
}