summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atof.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-24 17:47:59 +0000
committerbde <bde@FreeBSD.org>1996-09-24 17:47:59 +0000
commit5200f0a42d198234134eaafe2ac7926dcd528c81 (patch)
tree077a8f06463134d6fdc824a51d6c56036ea53960 /lib/libc/stdlib/atof.c
parenta0082297a8ede5618e20e7cfc0aca508fe867b5b (diff)
downloadFreeBSD-src-5200f0a42d198234134eaafe2ac7926dcd528c81.zip
FreeBSD-src-5200f0a42d198234134eaafe2ac7926dcd528c81.tar.gz
Fixed a few hundred warnings (2400 in LINT) for signed vs unsigned
comparisons in the inb() and outb() macros. I decided that int args are OK here. Any type that can hold a u_int16_t without overflow is correct, and 32-bit types are optimal. Introduced a few tens of warnings (100 in LINT) for use of pessimized (short) types for the port arg. Only a few drivers are affected by this. u_short pessimizations aren't detected. Added `__extension__' before the statement-expression in inb() so that it can be compiled without warnings by gcc -pedantic.
Diffstat (limited to 'lib/libc/stdlib/atof.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud