diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-29 16:22:41 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-10-29 16:23:07 -0700 |
commit | f466816e06ec3516567c3edcd0219bd1f9b736eb (patch) | |
tree | 31b830881aacc0cac7be07f716faa9cb715bcdb8 /doc/glibc-functions/cuserid.texi | |
parent | c1b1be5dc59f460f4249bb337987cc37dc2ed07f (diff) | |
download | gnulib-f466816e06ec3516567c3edcd0219bd1f9b736eb.tar.gz |
timespec: prefer ‘assume’ to ‘assure’
This avoids some runtime tests. The rest of the module makes
similar assumptions and there is little point to testing here.
* lib/timespec.h: Include verify.h instead of assure.h.
(timespec_cmp): Use ‘assume’, not ‘assure’.
Also, remove an unnecessary cast to ‘int’, as lots of other
code in this module now causes -Wconversion to complain, and
this is a problem with -Wconversion not with the code.
* modules/timespec (Depends-on): Depend on ‘verify’, not ‘assure’.
Diffstat (limited to 'doc/glibc-functions/cuserid.texi')
0 files changed, 0 insertions, 0 deletions