/* #included into both socket-client.c and socket-server.c */
+#ifdef G_OS_UNIX
static const char *unix_socket_address_types[] = {
"invalid",
"anonymous",
"abstract",
"padded"
};
+#endif
static char *
socket_address_to_string (GSocketAddress *address)
return res;
}
-GSocketAddress *
+static GSocketAddress *
socket_address_from_string (const char *name)
{
#ifdef G_OS_UNIX