]> Savannah Git Hosting - gnulib.git/commit
boot-time,readutmp: do not depend on c-strtod
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Aug 2023 23:54:51 +0000 (16:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Aug 2023 23:55:16 +0000 (16:55 -0700)
commit5528e726e9cc1ff9a2c7a71100450c52b65e9e7f
treeb31e9b82071e0109ac329d479e84fcf59df1a839
parent32d729b68bb29e5103d03a6a2eb39d800c7d8a27
boot-time,readutmp: do not depend on c-strtod

* lib/boot-time-aux.h (get_linux_uptime): Compute struct timespec
using integer arithmetic rather than double.
* lib/boot-time.c, lib/readutmp.c: Don’t include c-strtod.h.
* modules/boot-time, modules/readutmp (Depends-on): Remove c-strtod.
ChangeLog
lib/boot-time-aux.h
lib/boot-time.c
lib/readutmp.c
modules/boot-time
modules/readutmp