CLEANUP: threads: remove a few needless includes of hathreads.h
A few files were including it while not needing it (anymore). Some only required access to the atomic ops and got haproxy/atomic.h in exchange. Others didn't need it at all. A significant number of files still include it only for THREAD_LOCAL definition.
This commit is contained in:
parent
9453ecd670
commit
5775d0964a
@ -1,7 +1,7 @@
|
||||
#ifndef __XREF_H__
|
||||
#define __XREF_H__
|
||||
|
||||
#include <common/hathreads.h>
|
||||
#include <haproxy/atomic.h>
|
||||
|
||||
/* xref is used to create relation between two elements.
|
||||
* Once an element is released, it breaks the relation. If the
|
||||
|
@ -22,8 +22,8 @@
|
||||
#ifndef _PROTO_ACTIVITY_H
|
||||
#define _PROTO_ACTIVITY_H
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <common/hathreads.h>
|
||||
#include <common/time.h>
|
||||
#include <types/activity.h>
|
||||
#include <proto/freq_ctr.h>
|
||||
|
@ -22,10 +22,10 @@
|
||||
#ifndef _PROTO_FREQ_CTR_H
|
||||
#define _PROTO_FREQ_CTR_H
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/time.h>
|
||||
#include <common/hathreads.h>
|
||||
#include <types/freq_ctr.h>
|
||||
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#define _TYPES_FD_H
|
||||
|
||||
#include <haproxy/api-t.h>
|
||||
#include <common/hathreads.h>
|
||||
#include <import/ist.h>
|
||||
#include <types/port_range.h>
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include <haproxy/api-t.h>
|
||||
#include <haproxy/list-t.h>
|
||||
#include <common/hathreads.h>
|
||||
|
||||
#include <types/server.h>
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <common/htx.h>
|
||||
#include <common/namespace.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/hathreads.h>
|
||||
|
||||
#include <types/filters.h>
|
||||
#include <types/http_ana.h>
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#include <haproxy/api.h>
|
||||
#include <common/hathreads.h>
|
||||
#include <common/htx.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/time.h>
|
||||
|
@ -13,8 +13,6 @@
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <common/hathreads.h>
|
||||
|
||||
#include <proto/signal.h>
|
||||
#include <proto/log.h>
|
||||
#include <proto/task.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user