summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-30 20:33:05 +0000
committerrobert <robert@FreeBSD.org>2002-08-30 20:33:05 +0000
commit9920d9cacdfab69203ac25c6e4935daa83ba456c (patch)
treebbcfbe7e8b5519fd93596d68c5a090a398784294 /usr.bin
parent1286c989d680b02f88a9c13952bbb57e99e7fbac (diff)
downloadFreeBSD-src-9920d9cacdfab69203ac25c6e4935daa83ba456c.zip
FreeBSD-src-9920d9cacdfab69203ac25c6e4935daa83ba456c.tar.gz
- Convert the function definition to declare its arguments
in the ANSI-C format. - Change the code a bit to hopefully save some cycles. I.e. (simplified) change a = b + 1; while (--b & 0x7) /* ... */ to a = b; for (; b & 0x7; b--) /* ... */ and while (--a >= 0) /* ... */ to for (; a > 0; a--) /* ... */ - Equip two function arguments of swab() with the 'restrict' type qualifier in form of the '__restrict' macro. This is specified by POSIX.1-2001.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud