]> git.ipfire.org Git - thirdparty/gnulib.git/commit
obstack: size_t → _OBSTACK_CHUNK_SIZE_T
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 May 2025 21:02:15 +0000 (14:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 May 2025 21:16:20 +0000 (14:16 -0700)
commitc7dc9c43bc4f2cd2ee7edd3b2b5f5836da567c2a
tree77988410dbcbb38412cbf513b5a061eb602fe03c
parentd68f02b2c5f220af1971dc11a14603572f464cdd
obstack: size_t → _OBSTACK_CHUNK_SIZE_T

* lib/obstack.c (_obstack_begin, _obstack_begin_1):
* lib/obstack.in.h (struct obstack, obstack_init, obstack_begin)
(obstack_specify_allocation)
(obstack_specify_allocation_with_arg, obstack_chunkfun):
Use _OBSTACK_CHUNK_SIZE_T instead of size_t in places where
glibc uses unsigned long rather than size_t.  This makes
no difference with Gnulib, but should help allay any concerns
that merging Gnulib with glibc might change glibc’s ABI
on obsolescent glibc platforms where size_t is unsigned int.
ChangeLog
lib/obstack.c
lib/obstack.in.h