]> Savannah Git Hosting - gnulib.git/commit
stdckdint: prefer to intprops when easy
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 06:20:49 +0000 (23:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 07:22:09 +0000 (00:22 -0700)
commitef5a4088d9236a55283d1eb576f560aa39c09e6f
tree8e385baed75dfd2ea33ce069e66f013146cb40d9
parent2eb92c362ecfb2dae9c9cb37cb9246df6989181c
stdckdint: prefer to intprops when easy

stdckdint.h is part of draft C23 and therefore is more likely
to be familiar to programmers in the future, so prefer it to
intprops.h in files that don’t need non-_WRAPV intprops.h macros.
* lib/alignalloc.c, lib/backupfile.c, lib/fnmatch.c, lib/fnmatch_loop.c:
* lib/group-member.c, lib/malloca.c, lib/posixtm.c, lib/reallocarray.c:
* lib/xmalloc.c:
For files that can use stdckdint.h just as easily as intprops.h,
include the former instead of the latter, and use the former’s
ckd_* macros instead of the latter’s *_WRAPV macros.
* modules/alignalloc, modules/backup-rename, modules/backupfile:
* modules/fnmatch, modules/group-member, modules/malloca:
* modules/posixtm, modules/reallocarray:
* modules/relocatable-prog-wrapper, modules/xalloc:
Depend on stdckdint instead of intprops.
20 files changed:
ChangeLog
lib/alignalloc.c
lib/backupfile.c
lib/fnmatch.c
lib/fnmatch_loop.c
lib/group-member.c
lib/malloca.c
lib/posixtm.c
lib/reallocarray.c
lib/xmalloc.c
modules/alignalloc
modules/backup-rename
modules/backupfile
modules/fnmatch
modules/group-member
modules/malloca
modules/posixtm
modules/reallocarray
modules/relocatable-prog-wrapper
modules/xalloc