[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] * lib/gettime-res.c (gcd): Mark with _GL_ATTRIBUTE_CONST.
From: |
Paul Eggert |
Subject: |
[PATCH 1/2] * lib/gettime-res.c (gcd): Mark with _GL_ATTRIBUTE_CONST. |
Date: |
Tue, 28 Dec 2021 15:13:04 -0800 |
---
lib/gettime-res.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gettime-res.c b/lib/gettime-res.c
index 0d7f1cfea..6e9784347 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)
--
2.33.1
- [PATCH 1/2] * lib/gettime-res.c (gcd): Mark with _GL_ATTRIBUTE_CONST.,
Paul Eggert <=