summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/stdio_threading/include/local.h
diff options
context:
space:
mode:
authorguenther <>2009-11-18 07:43:22 +0000
committerguenther <>2009-11-18 07:43:22 +0000
commite0efb79737de1ab6a8d49757f7ed05b933db3e29 (patch)
tree69cb2944835feb73c511d3d6141bf71d95163b13 /src/regress/lib/libc/stdio_threading/include/local.h
parentf1d42d6eee1da63866ae153d6e369735e5a8d456 (diff)
downloadopenbsd-e0efb79737de1ab6a8d49757f7ed05b933db3e29.tar.gz
openbsd-e0efb79737de1ab6a8d49757f7ed05b933db3e29.tar.bz2
openbsd-e0efb79737de1ab6a8d49757f7ed05b933db3e29.zip
More shrinkage, a bit for ramdisks but mostly for static binaries:
- wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@
Diffstat (limited to 'src/regress/lib/libc/stdio_threading/include/local.h')
0 files changed, 0 insertions, 0 deletions