]> Savannah Git Hosting - gnulib.git/commit
xstrtoimax, xstrtoumax: depend on inttypes-incomplete
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jan 2022 05:07:39 +0000 (21:07 -0800)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 22:41:32 +0000 (00:41 +0200)
commitb937e0bd302d75722056eb1e815cba1f01b8c834
tree0f57ac7adabe06a0d35889511e16a748007ce457
parentfcac101fb8508f02c4f0969a27ba36513a22cacc
xstrtoimax, xstrtoumax: depend on inttypes-incomplete

This fixes a call to strtoimax without declaring it,
and similarly for strtoumax.
* lib/xstrtoimax.c, lib/xstrtoumax.c (XSTRTOL_INCLUDE_INTTYPES_H):
Define, so that strtoimax and strtoumax are declared.
* lib/xstrtol.c [XSTRTOL_INCLUDE_INTTYPES_H]: Include inttypes.h.
* modules/xstrtoimax, modules/xstrtoumax (Depends-on):
Add inttypes-incomplete.
ChangeLog
lib/xstrtoimax.c
lib/xstrtol.c
lib/xstrtoumax.c
modules/xstrtoimax
modules/xstrtoumax