]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Jan 2022 05:08:07 +0000 (21:08 -0800)
commit8ecf07a95175c6cf4c62c0800555c19207dad251
tree58c7d971ee9ae0ba18dbdbef432bea4c5ebe6ee7
parenta319a3a16e3804b685f03c9f7f0156e64033666b
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