summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-12-28 15:10:52 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-12-28 15:12:42 -0800
commiteca79245326422b139084a39438e79c656a71e07 (patch)
tree952f8f7aa940ba0c237a108665186099fcd7373d /lib
parent6967c03d3b03a93c050354e05b97b64360aa9c61 (diff)
downloadgnulib-eca79245326422b139084a39438e79c656a71e07.tar.gz
* lib/gettime-res.c (gcd): Mark with _GL_ATTRIBUTE_CONST.
Diffstat (limited to 'lib')
-rw-r--r--lib/gettime-res.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gettime-res.c b/lib/gettime-res.c
index 0d7f1cfeaf..6e9784347f 100644
--- a/lib/gettime-res.c
+++ b/lib/gettime-res.c
@@ -21,7 +21,7 @@
#include "timespec.h"
-static long int
+static long int _GL_ATTRIBUTE_CONST
gcd (long int a, long int b)
{
while (b != 0)