diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-14 15:17:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-14 15:17:36 -0400 |
commit | 9205e486091c3901d0e5aa9a0384dc07dae6114d (patch) | |
tree | 6b8a66e6cd13395ba9cbc3dbafe0cdc1b558437c /src/thread | |
parent | ef9dd035344de750ed9420bd3e4bc5c2b7475dba (diff) | |
download | musl-9205e486091c3901d0e5aa9a0384dc07dae6114d.tar.gz |
macro for pthread_equal
no sense bloating apps with a function call for an equality comparison...
Diffstat (limited to 'src/thread')
-rw-r--r-- | src/thread/pthread_equal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_equal.c b/src/thread/pthread_equal.c index a55d280c..3e3df4fd 100644 --- a/src/thread/pthread_equal.c +++ b/src/thread/pthread_equal.c @@ -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; } |