Hash :
f466816e
Author :
Date :
2017-10-29T16:22:41
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’.
Description:
timespec-related declarations
Files:
lib/timespec.h
lib/timespec.c
m4/timespec.m4
Depends-on:
extern-inline
time
verify
configure.ac:
gl_TIMESPEC
Makefile.am:
lib_SOURCES += timespec.c
Include:
"timespec.h"
License:
LGPL
Maintainer:
Paul Eggert and Jim Meyering