summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fgetln.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-21 16:50:32 +0000
committerbde <bde@FreeBSD.org>1995-04-21 16:50:32 +0000
commit79d93cb4f787cfc70f395d40220e021b6d8be7f2 (patch)
tree36b2f277d1206ee8653c277d6565422770336261 /lib/libc/stdio/fgetln.c
parent03471c0c05d974fe24161c97f6c626e56630a043 (diff)
downloadFreeBSD-src-79d93cb4f787cfc70f395d40220e021b6d8be7f2.zip
FreeBSD-src-79d93cb4f787cfc70f395d40220e021b6d8be7f2.tar.gz
Make some functions static like they always should have been.
Change the interfaces of these functions to save space. The code that takes the least amount of space is often the opposite to what you might expect. E.g., it helps to waste a few bytes passing pointers so that the compiler can't see that certain addresses are identical (gcc likes to waste space by reloading fat constants even when the constant is already in a register). Rewrite getbootdev() to save 80 bytes of space and to make it less ugly. 32 bytes were saved simply by omitting the continue statements in the pseudo-switch.
Diffstat (limited to 'lib/libc/stdio/fgetln.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud