]> git.eshelyaron.com Git - emacs.git/commit
Split lisp_to_timespec in two
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Jul 2024 14:18:18 +0000 (16:18 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 11 Jul 2024 14:39:44 +0000 (16:39 +0200)
commitf33eb43ebf6fe259fb7486f03af66f473915d0af
tree3b0feb2529b74589cfbaacb5d4f1da81e8532445
parentb4d388d6c57427a03505ef4b539295543c724fdc
Split lisp_to_timespec in two

* src/timefns.c (ticks_hz_to_timespec): New function,
which is almost all the old lisp_to_timespec but with
a 2-arg API.  This should help further changes.
(lisp_to_timespec): Use it.

(cherry picked from commit 22a3a90f7636a9cb55a463a8149d6e3ec12d1b81)
src/timefns.c