diff options
author | bde <bde@FreeBSD.org> | 2001-11-28 19:52:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-11-28 19:52:25 +0000 |
commit | cc3f58540b1641eac1fee1909acc683118792c06 (patch) | |
tree | 0df6ffeda7b89e87701c920e3c9e8779089cad36 /sys/kern/kern_mib.c | |
parent | 5ede7a3e25680029d8ae5518ff9a6f1a1542a512 (diff) | |
download | FreeBSD-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