Don't include <config.h> twice; this doesn't work in some cases,
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Oct 2006 07:24:56 +0000 (07:24 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Oct 2006 07:24:56 +0000 (07:24 +0000)
commit74fcb0575a5b053a1b1078a5595c1795790c63cb
tree39b8a2d2d6300630d71236d270216024f5e78190
parent6981342b0b0c4a0eb772156b1768341900465f2f
Don't include <config.h> twice; this doesn't work in some cases,
e.g., when config.h has "#define intmax_t long long int" and
we include <config.h>, <inttypes.h>, <config.h> in that order.
* fprintftime.c: Don't include config.h or fprintftime.h.
* fts-cycle.c: Don't include config.h.
* strftime.c: Include fprintftime.h if FPRINTFTIME is defined.
* xstrtoimax.c: Remove copyright notice since it's short tnow.
Don't include config.h or xstrtol.h.  Define STRTOL_T_MINIMUM
and STRTOL_T_MAXIMUM unconditionally, since we now assume gnulib
inttypes.h.
* xstrtoumax.c: Likewise.
* xstrtol.c: Include config.h and xstrtol.h after defining
__strtol and the like, so that this module is more like its siblings.
(STRTOL_T_MINIMUM, STRTOL_T_MAXIMUM) [! defined STRTOL_T_MINIMUM]:
Remove; no longer needed now that we assume gnulib inttypes.h.

2006-10-07  Bruno Haible  <bruno@clisp.org>
lib/ChangeLog
lib/fprintftime.c
lib/fts-cycle.c
lib/strftime.c
lib/xstrtoimax.c
lib/xstrtol.c
lib/xstrtoumax.c