]> git.ipfire.org Git - thirdparty/coreutils.git/commit
uptime: simplify following gnulib changes
authorBruno Haible <bruno@clisp.org>
Tue, 15 Aug 2023 22:20:05 +0000 (15:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2023 22:22:27 +0000 (15:22 -0700)
commit622eea03cd3dfaad8be07a8e5311f981344b72b7
treed9783967c6fb44fdb78f70c523f5a5f23848ac7a
parentf2c2643fc5575a3f75654408c19930dc38a1efe8
uptime: simplify following gnulib changes

* build-aux/gen-lists-of-programs.sh (build_if_possible_progs):
Remove uptime.
(normal_progs): Add uptime.
* configure.ac: Remove GNULIB_BOOT_TIME invocation.
* m4/boottime.m4: Remove file.
* src/uptime.c: Don't include <sys/sysctl.h>, <OS.h>.
(print_uptime): Don't call sysctl, get_system_info, as Gnulib's
readutmp module now does this.
build-aux/gen-lists-of-programs.sh
configure.ac
m4/boottime.m4 [deleted file]
src/uptime.c