summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/subdi3.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-06-26 10:14:25 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-06-26 10:14:25 +0000
commitd07d0a4f937ed3a6ef0c95f20ad399862b38ad16 (patch)
treeda7d08f0afa526acc1b5d7db4484c547a360e31f /sys/lib/libkern/subdi3.c
parentc0dba64981e022be9ab2c0b0fa0137fe16d76168 (diff)
the pr_usrreq implementation for routing sockets shares exactly one line
of code between cases, so stop pretending otherwise, and move the if() dance to a switch, as is done in every other pr_usrreq I'm aware of. ok claudio@ michele@
Diffstat (limited to 'sys/lib/libkern/subdi3.c')
0 files changed, 0 insertions, 0 deletions