diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-12 18:19:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-12 18:19:38 +0000 |
commit | 92a74b0a8831f74e19dde24ce51a344bb0f75793 (patch) | |
tree | 615f9cc8051b55ea0f080e78c8c3f4ecb10be40a /ChangeLog | |
parent | 6301ff874e3dba7c321129cc61e9fa99a09948eb (diff) | |
download | coreutils-92a74b0a8831f74e19dde24ce51a344bb0f75793.tar.xz |
Include <errno.h>, <stdio.h>, <stdlib.h> even
if HAVE_GETLOADAVG is defined, so that the test program can work.
(errno): Remove declaration; not needed in C89 or later.
Include "c-strtod.h".
Do not include locale.h or define setlocale; no longer needed.
Include <limits.h>.
(INT_STRLEN_BOUND): New macro.
(getloadavg): Use it to compute buffer size.
Don't assume that buffer will be properly terminated by 'read'.
Use c_strtod instead of setlocale.
(main) [defined TEST]: Return int, not void.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions