REORG: sock: move get_old_sockets() from haproxy.c
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 16:42:45 +0000 (18:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2020 17:24:55 +0000 (19:24 +0200)
commit429617459d4926f4afdd84bc708c6f4a2dfb0183
tree3430252e7bda7b7904b9cc675b0331479abf287c
parent37bafdcbb12096c1291a3b5439109c91a419536a
REORG: sock: move get_old_sockets() from haproxy.c

The new function was called sock_get_old_sockets() and was left as-is
except a minimum amount of style lifting to make it more readable. It
will never be awesome anyway since it's used very early in the boot
sequence and needs to perform socket I/O without any external help.
include/haproxy/sock.h
src/haproxy.c
src/sock.c