]> git.ipfire.org Git - thirdparty/glibc.git/commit
difftime is pure, not const
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 May 2024 00:37:17 +0000 (17:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 May 2024 16:10:00 +0000 (09:10 -0700)
commitdf63f01a30d98f74bb6e82cbe1e27dbf795e433d
treeeafb572befe65789ed74a5857258a77e7e8c9830
parentf981bf6b9db87e0732b46bfe92fdad4d363225e8
difftime is pure, not const

Because difftime's behavior depends on the floating-point environment,
the function is pure, not const (BZ 31802).

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
time/time.h