It was declared in global.h, forcing plenty of source files to include
it only for this while it's only based on definitions from thread.h.
return mask ? mask : all_proc_mask;
}
-/* returns a mask if set, otherwise all_threads_mask */
-static inline unsigned long thread_mask(unsigned long mask)
-{
- return mask ? mask : all_threads_mask;
-}
-
/* handle 'tainted' status */
enum tainted_flags {
TAINTED_CONFIG_EXP_KW_DECLARED = 0x1,
#endif /* USE_THREAD */
+/* returns a mask if set, otherwise all_threads_mask */
+static inline unsigned long thread_mask(unsigned long mask)
+{
+ return mask ? mask : all_threads_mask;
+}
+
#endif /* _HAPROXY_THREAD_H */