scratch_buffer: don’t use private glibc API
commitdca11d0f59e9610bc3cf000c82429609ba787b73
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Sep 2017 08:21:03 +0000 (2 01:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Sep 2017 08:23:21 +0000 (2 01:23 -0700)
treec69f73670d170b6aab661c134bd178e9213968d5
parente1e842053e2a573d132bd44439534e20ce00d23b
scratch_buffer: don’t use private glibc API

Suggested by Florian Weimer in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00004.html
* lib/scratch_buffer.h: Rename to lib/malloc/scratch_buffer.h.
* lib/scratch_buffer_grow.c: Rename to
lib/malloc/scratch_buffer_grow.c.
* lib/scratch_buffer_grow_preserve.c: Rename to
lib/malloc/scratch_buffer_grow_preserve.c.
* lib/scratch_buffer_set_array_size.c: Rename to
lib/malloc/scratch_buffer_set_array_size.c.
* lib/scratch_buffer.h: New file.
* modules/scratch_buffer (Files, Makefile.am):
Adjust to source-file renaming.
ChangeLog
lib/malloc/scratch_buffer.h [copied from lib/scratch_buffer.h with 100% similarity]
lib/malloc/scratch_buffer_grow.c [moved from lib/scratch_buffer_grow.c with 100% similarity]
lib/malloc/scratch_buffer_grow_preserve.c [moved from lib/scratch_buffer_grow_preserve.c with 100% similarity]
lib/malloc/scratch_buffer_set_array_size.c [moved from lib/scratch_buffer_set_array_size.c with 100% similarity]
lib/scratch_buffer.h
modules/scratch_buffer