mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
CLEANUP: include: don't include proxy-t.h in global-t.h
We only need a forward declaration here to avoid embarking lots of files, and by just doing this we reduce the build size by 3.5%.
This commit is contained in:
parent
d62af6abe4
commit
4f663ec022
@ -28,8 +28,6 @@
|
||||
#include <haproxy/vars-t.h>
|
||||
#include <haproxy/mworker-t.h>
|
||||
|
||||
#include <haproxy/proxy-t.h>
|
||||
|
||||
extern struct global global;
|
||||
extern int pid; /* current process id */
|
||||
extern int relative_pid; /* process id starting at 1 */
|
||||
@ -60,6 +58,8 @@ extern int atexit_flag;
|
||||
extern unsigned char boot_seed[20]; // per-boot random seed (160 bits initially)
|
||||
extern THREAD_LOCAL struct buffer trash;
|
||||
|
||||
struct proxy;
|
||||
struct server;
|
||||
int main(int argc, char **argv);
|
||||
void deinit(void);
|
||||
void run_poll_loop(void);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user