REORG: global: move initcall register code in a dedicated file
Create a new module init which contains code related to REGISTER_*
macros for initcalls. init.h is included in api.h to make init code
available to all modules.
It's a step to clean up a bit haproxy.c/global.h.
diff --git a/Makefile b/Makefile
index ab3ad48..e8110bd 100644
--- a/Makefile
+++ b/Makefile
@@ -878,7 +878,7 @@
src/ebistree.o src/auth.o src/wdt.o src/http_acl.o \
src/hpack-enc.o src/hpack-huff.o src/ebtree.o src/base64.o \
src/hash.o src/dgram.o src/version.o src/fix.o src/mqtt.o src/dns.o \
- src/server_state.o src/proto_uxdg.o
+ src/server_state.o src/proto_uxdg.o src/init.o
ifneq ($(TRACE),)
OBJS += src/calltrace.o