>From c4b2df3e3a859ac2eebc3f1685bdc6ff3d4c3ba3 Mon Sep 17 00:00:00 2001 From: Bruno Haible
Date: Thu, 6 Sep 2018 14:46:06 +0200 Subject: [PATCH 2/5] xstrtoll: Rely on limits-h module. * lib/xstrtol.c: Don't include intprops.h. (ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions. * modules/xstrtol (Depends-on): Remove 'intprops'. * modules/xstrtoll (Depends-on): Add 'limits-h'. --- ChangeLog | 8 ++++++++ lib/xstrtol.c | 14 -------------- modules/xstrtol | 1 - modules/xstrtoll | 1 + 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4116600..6eb3027 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2018-09-06 Bruno Haible + xstrtoll: Rely on limits-h module. + * lib/xstrtol.c: Don't include intprops.h. + (ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions. + * modules/xstrtol (Depends-on): Remove 'intprops'. + * modules/xstrtoll (Depends-on): Add 'limits-h'. + +2018-09-06 Bruno Haible + strtoll, strtoull: Rely on limits-h module. * lib/strtol.c (TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Remove macros. (ULLONG_MAX, LLONG_MAX, LLONG_MIN): Remove fallback definitions. diff --git a/lib/xstrtol.c b/lib/xstrtol.c index d8b4edb..1332e3f 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -41,20 +41,6 @@ #include