mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-24 04:11:02 +01:00
CLEANUP: include: make atomic.h part of the base API
Atomic ops are used about everywhere, let's make them part of the base API by including atomic.h in api.h.
This commit is contained in:
parent
8e3f5c6661
commit
6784c99463
@ -22,7 +22,6 @@
|
||||
#ifndef _HAPROXY_ACTIVITY_H
|
||||
#define _HAPROXY_ACTIVITY_H
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/time.h>
|
||||
#include <haproxy/activity-t.h>
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
#ifndef _HAPROXY_BASE_H
|
||||
#define _HAPROXY_BASE_H
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/bug.h>
|
||||
#include <haproxy/initcall.h>
|
||||
#include <haproxy/api-t.h>
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
#ifndef _HAPROXY_FREQ_CTR_H
|
||||
#define _HAPROXY_FREQ_CTR_H
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/freq_ctr-t.h>
|
||||
#include <haproxy/intops.h>
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
#define _HAPROXY_PORT_RANGE_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/port_range-t.h>
|
||||
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
#include <sched.h>
|
||||
#endif
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/api.h>
|
||||
#include <haproxy/thread-t.h>
|
||||
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
#ifndef __HAPROXY_XREF_H__
|
||||
#define __HAPROXY_XREF_H__
|
||||
|
||||
#include <haproxy/atomic.h>
|
||||
#include <haproxy/xref-t.h>
|
||||
|
||||
/* xref is used to create relation between two elements.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user