xnanosleep: Rewrite to use new dtotimespec module.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Jun 2011 22:23:29 +0000 (15:23 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Jun 2011 22:24:37 +0000 (15:24 -0700)
commit1f079339abe711a3b188bfef58dd1f8a5366b1ec
tree15e112167a14cfcda5d0858b7b1a4d86d5ea59e7
parent81979bc8e213e442acf9f2bef9f6e227602c5b70
xnanosleep: Rewrite to use new dtotimespec module.

It has the conversion code that used to be in xnanosleep.
* lib/xnanosleep.c: Do not include limits.h, stdbool.h, stdio.h,
assert.h, sys/types.h, or intprops.h.  Include timespec.h instead.
(TIME_T_MAX): Remove.
(xnanosleep): Rewrite in terms of dtotimespec.
* modules/xnanosleep (Depends-on): Add dtotimespec.
Remove intprops, stdbool.
ChangeLog
lib/xnanosleep.c
modules/xnanosleep