]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Only setup should have a semi colon after it in threads.h
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 19 Dec 2013 23:12:50 +0000 (23:12 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 19 Dec 2013 23:12:57 +0000 (23:12 +0000)
src/include/threads.h

index c3458fc15d747eee2740486cac0f818835bf187c..afe33d1c2dd4cd27d42270ba64ccbd718b4ac5a1 100644 (file)
@@ -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;\