Function dt_ms() is pure too

This commit is contained in:
angt
2015-12-10 13:19:24 +01:00
parent f36fde5054
commit 4cf0e7bc68

View File

@@ -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;