summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-11-28 19:52:25 +0000
committerbde <bde@FreeBSD.org>2001-11-28 19:52:25 +0000
commitcc3f58540b1641eac1fee1909acc683118792c06 (patch)
tree0df6ffeda7b89e87701c920e3c9e8779089cad36 /sys/kern/kern_mib.c
parent5ede7a3e25680029d8ae5518ff9a6f1a1542a512 (diff)
downloadFreeBSD-src-cc3f58540b1641eac1fee1909acc683118792c06.zip
FreeBSD-src-cc3f58540b1641eac1fee1909acc683118792c06.tar.gz
Fixed namespace pollution and/or breakage of K&R and C90 support related to
the following functions in the following commits: - atoll() in revs 1.23-1.25 - llabs() and lldiv() in revs 1.22 - strtoq() and strtouq() in revs 1.18 C99 functions must not be declared in C90/POSIX.1-1990 sections, and "long long" must not be exposed to compilers that don't support it. Fixed style bugs (mainly misindentation and disorder) related the following functions in the following commits: - atoll() in revs 1.23-1.25 - getprogname() in rev.1.21 - sranddev() in revs 1.19-1.20 - strtoq() and strtouq() in rev.1.13 - user_from_uid() in rev.1.1 Breakage of K&R and C90 support used to be avoided by conditializing the "long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the conditionals should have gone away in rev.1.13 when the "long long"s went away (the problem was moved to the places that declare quad_t and u_quad_t).
Diffstat (limited to 'sys/kern/kern_mib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud