inetd: constify data

This commit is contained in:
Denis Vlasenko 2009-04-22 23:25:48 +00:00
parent c2931aa2df
commit eb4e5ecc32

View File

@ -658,7 +658,7 @@ static servtab_t *parse_one_line(void)
} }
{ {
static int8_t SOCK_xxx[] ALIGN1 = { static const int8_t SOCK_xxx[] ALIGN1 = {
-1, -1,
SOCK_STREAM, SOCK_DGRAM, SOCK_RDM, SOCK_STREAM, SOCK_DGRAM, SOCK_RDM,
SOCK_SEQPACKET, SOCK_RAW SOCK_SEQPACKET, SOCK_RAW