]> git.ipfire.org Git - thirdparty/newt.git/commit
switch to nanosleep
authorRosen Penev <rosenp@gmail.com>
Mon, 7 Oct 2019 23:11:23 +0000 (23:11 +0000)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 8 Oct 2019 07:50:01 +0000 (09:50 +0200)
commitad8aa6467b63c28b1fdc9a15248e87282b87656a
treef4a0e1976266a37d6ceba57dd7296fc72ab07e90
parent638f672ce619abe322306c9f1f422dc988978e57
switch to nanosleep

usleep was removed in POSIX 2008 and is optionally unavailable with
uClibc-ng.

[ ML: include <time.h> and improve indentation. ]

Signed-off-by: Rosen Penev <rosenp@gmail.com>
newt.c