Skip to content

Commit

Permalink
Only setup should have a semi colon after it in threads.h
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 19, 2013
1 parent 44d76ae commit 462212d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/threads.h
Expand Up @@ -60,8 +60,8 @@ static inline _t __fr_thread_local_init_##_n(pthread_destructor_t func)\
return _n;\
}
# define fr_thread_local_init(_n, _f) __fr_thread_local_init_##_n(_f)
# define fr_thread_local_set(_n, _v) ((int)!((_n = _v) || 1));
# define fr_thread_local_get(_n) _n;
# define fr_thread_local_set(_n, _v) ((int)!((_n = _v) || 1))
# define fr_thread_local_get(_n) _n
#elif defined(__THREAD)
# include <pthread.h>
# define fr_thread_local_setup(_t, _n) static __THREAD _t _n;\
Expand Down

0 comments on commit 462212d

Please sign in to comment.