socket-label: move prototype of socket_address_listen() and string table for SocketAddressBindIPv6Only

The function socket_address_listen() is declared at shared/socket-label.c,
however its prototype was in basic/socket-util.h. This moves the
prototype to shared/socket-label.h.

Also, enum SocketAddressBindIPv6Only is not used anymore in basic/*.[ch].
Let's move the definition and its string table to shared/socket-label.[ch].

Follow-up for b25a930f0e.
This commit is contained in:
Yu Watanabe
2025-11-20 09:58:53 +09:00
parent 3f91ffe0fe
commit cb4b36928a
7 changed files with 59 additions and 49 deletions
+1
View File
@@ -6,6 +6,7 @@
#include "execute.h"
#include "list.h"
#include "pidref.h"
#include "socket-label.h"
#include "socket-util.h"
#include "unit.h"