]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: proto_tcp: Remove useless header inclusions.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 10 Jul 2019 09:45:46 +0000 (11:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jul 2019 08:40:20 +0000 (10:40 +0200)
I guess "sys/un.h" and "sys/stat.h" were included for debugging purposes when
"proto_tcp.c" was initially created. There are no more useful.

src/proto_tcp.c

index 64ffb83c5d29e649802a3740b6dc77d4886d7b56..4ca6fc2392e5590478ed818cb70070a7fcb1e22b 100644 (file)
@@ -25,9 +25,7 @@
 
 #include <sys/param.h>
 #include <sys/socket.h>
-#include <sys/stat.h>
 #include <sys/types.h>
-#include <sys/un.h>
 
 #include <netinet/tcp.h>
 #include <netinet/in.h>