summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-17 12:24:07 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-17 12:49:42 -0700
commitd959e39cbd54b4755525bcbd907a3402843dabba (patch)
tree0ac67f178f429d0fb7d6dd1673c98ab40d82238f /modules
parent0a4e0cab0dbb2a70e26484e32378784b5106ae08 (diff)
downloadgnulib-d959e39cbd54b4755525bcbd907a3402843dabba.tar.gz
stdckdint: use in more modules
* lib/nstrftime.c (__strftime_internal): * lib/timespec-add.c (timespec_add): * lib/timespec-sub.c (timespec_sub): * lib/xstrtol.c (bkm_scale): Prefer ckd_add to INT_ADD_WRAPV etc., and include stdckdint.h. * modules/nstrftime, modules/timespec-add, modules/timespec-sub: * modules/xstrtol: (Depends-on): Add stdckdint.
Diffstat (limited to 'modules')
-rw-r--r--modules/nstrftime1
-rw-r--r--modules/timespec-add1
-rw-r--r--modules/timespec-sub1
-rw-r--r--modules/xstrtol1
4 files changed, 4 insertions, 0 deletions
diff --git a/modules/nstrftime b/modules/nstrftime
index a24af8dcb3..fdaf7913d3 100644
--- a/modules/nstrftime
+++ b/modules/nstrftime
@@ -15,6 +15,7 @@ extensions
intprops
libc-config
stdbool
+stdckdint
time_rz
configure.ac:
diff --git a/modules/timespec-add b/modules/timespec-add
index 68050bf856..45daf6e26b 100644
--- a/modules/timespec-add
+++ b/modules/timespec-add
@@ -7,6 +7,7 @@ lib/timespec-add.c
Depends-on:
c99
intprops
+stdckdint
timespec
configure.ac:
diff --git a/modules/timespec-sub b/modules/timespec-sub
index f442ceafbb..d7316a5c9c 100644
--- a/modules/timespec-sub
+++ b/modules/timespec-sub
@@ -7,6 +7,7 @@ lib/timespec-sub.c
Depends-on:
c99
intprops
+stdckdint
timespec
configure.ac:
diff --git a/modules/xstrtol b/modules/xstrtol
index 137cc1f5ab..c9712dee0c 100644
--- a/modules/xstrtol
+++ b/modules/xstrtol
@@ -10,6 +10,7 @@ m4/xstrtol.m4
Depends-on:
assure
intprops
+stdckdint
stdint
configure.ac: