libc: small cleanups.
authorpfg <pfg@FreeBSD.org>
Sun, 12 Mar 2017 03:26:25 +0000 (03:26 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 12 Mar 2017 03:26:25 +0000 (03:26 +0000)
commit026df5dbaeeaf3f52e34b6ee8fd2f2bed4636cf6
tree9709040286dc0ea28c0fd8c5aaee47de8374e343
parentd2ff5eb11a59a28cca761ad12d12a8a865a07e88
libc: small cleanups.

Unsign setlen: it is local and will never be negative. Having one more bit
for growth is beneficial and it avoids a cast when it's going to be used
for allocation.

Reviewed by: ngie
MFC after: 3 days
lib/libc/gen/setmode.c