summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_debug.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-08 12:52:26 +0000
committerpeter <peter@FreeBSD.org>1999-05-08 12:52:26 +0000
commitc845ce79190131c6408f2278bcca8c51db40c01b (patch)
tree04f915def1fa9b044f701cde48ee4cdeac626722 /sys/netinet/tcp_debug.c
parente6c289aed06c16ef3211dd909dad73fe155748d4 (diff)
downloadFreeBSD-src-c845ce79190131c6408f2278bcca8c51db40c01b.zip
FreeBSD-src-c845ce79190131c6408f2278bcca8c51db40c01b.tar.gz
ls_items[] is most definately not a set of pointers to const objects..
sysinits, for example, are sorted by swapping those objects(!). Perhaps they should be const and the sysinit sorting should be swapping the pointers rather than the targets. This is on my revisit list, but it has the side effect of removing a lot of warnings. With -Wcast-qual, it doesn't seem easy to get rid of the constness when you *know* it's not. (With apologies to bde, this essentially reverts rev 1.21 of kernel.h from back in 1996)
Diffstat (limited to 'sys/netinet/tcp_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud