summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strfmon.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-12-23 00:59:43 +0000
committerrwatson <rwatson@FreeBSD.org>2004-12-23 00:59:43 +0000
commitfd297e39399daf77085922d0d9251b4d460e9d6f (patch)
treea9bb389459a794c189fc39aaac8b2885e54b2cff /lib/libc/stdlib/strfmon.c
parent82dbdac8b7ad99e683f1c59e04700706a2ece901 (diff)
downloadFreeBSD-src-fd297e39399daf77085922d0d9251b4d460e9d6f.zip
FreeBSD-src-fd297e39399daf77085922d0d9251b4d460e9d6f.tar.gz
In soalloc(), simplify the mac_init_socket() handling to remove
unnecessary use of a global variable and simplify the return case. While here, use ()'s around return values. In sodealloc(), remove a comment about why we bump the gencnt and decrement the socket count separately. It doesn't add substantially to the reading, and clutters the function. MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud