From 4db1dde25c4def9933235093e4720c898559f871 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 22 Sep 2022 18:32:28 +0200 Subject: misc: add timespec_add() --- misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index ba8b2ce7..648bb65f 100644 --- a/misc.h +++ b/misc.h @@ -6,4 +6,5 @@ bool isword(char32_t wc, bool spaces_only, const char32_t *delimiters); +void timespec_add(const struct timespec *a, const struct timespec *b, struct timespec *res); void timespec_sub(const struct timespec *a, const struct timespec *b, struct timespec *res); -- cgit v1.3