cvs commit: src/sys/netinet tcp_input.c tcp_usrreq.c
Christoph Mallon
christoph.mallon at gmx.de
Mon Jul 30 10:40:13 UTC 2007
Dag-Erling Smørgrav wrote:
> Dag-Erling Smørgrav <des at des.no> writes:
>> The attached patch unbreaks the build.
>
> With additional hunk to fix usr.bin/netstat/ipx.c, which relied on the
> brokenness of <netinet/tcp_fsm.h>.
Hi,
may I suggest to declare the array as
static const char * const tcpstates[].
Mind the second const, so not only the strings are const (const char*),
but the array itself, too.
Christoph
More information about the cvs-src
mailing list