From 4cf0e7bc68ae6ffbf0fd16757cbb3148a8907363 Mon Sep 17 00:00:00 2001 From: angt Date: Thu, 10 Dec 2015 13:19:24 +0100 Subject: [PATCH] Function dt_ms() is pure too --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index 201901e..ac0cdb1 100644 --- a/src/main.c +++ b/src/main.c @@ -50,6 +50,7 @@ struct crypto_ctx { volatile sig_atomic_t gt_close = 0; volatile sig_atomic_t gt_info = 0; +_pure_ static int64_t dt_ms (struct timeval *ta, struct timeval *tb) { const int64_t s = ta->tv_sec-tb->tv_sec;