summaryrefslogtreecommitdiff
path: root/lib/scratch_buffer.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-11-26 10:49:04 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-11-26 10:56:53 -0800
commitb27e8f26284770162cc9e9d95d4d273902d35927 (patch)
tree4d51d3b369f849c8ef5f0f9d58ea0779f63e2519 /lib/scratch_buffer.h
parentd440ca47ed6251f134e87386853798228983dd85 (diff)
downloademacs-b27e8f26284770162cc9e9d95d4d273902d35927.tar.gz
emacs-b27e8f26284770162cc9e9d95d4d273902d35927.tar.bz2
emacs-b27e8f26284770162cc9e9d95d4d273902d35927.zip
Update from Gnulib by running admin/merge-gnulib
Diffstat (limited to 'lib/scratch_buffer.h')
-rw-r--r--lib/scratch_buffer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/scratch_buffer.h b/lib/scratch_buffer.h
index f4fe5e8d344..c0aa21630f5 100644
--- a/lib/scratch_buffer.h
+++ b/lib/scratch_buffer.h
@@ -98,20 +98,10 @@ extern bool scratch_buffer_set_array_size (struct scratch_buffer *buffer,
size_t nelem, size_t size);
#endif
-/* Return a copy of *BUFFER's first SIZE bytes as a heap-allocated block,
- deallocating *BUFFER if it was heap-allocated. SIZE must be at
- most *BUFFER's size. Return NULL (setting errno) on memory
- exhaustion. */
-#if 0
-extern void *scratch_buffer_dupfree (struct scratch_buffer *buffer,
- size_t size);
-#endif
-
/* The implementation is imported from glibc. */
/* Avoid possible conflicts with symbols exported by the GNU libc. */
-#define __libc_scratch_buffer_dupfree gl_scratch_buffer_dupfree
#define __libc_scratch_buffer_grow gl_scratch_buffer_grow
#define __libc_scratch_buffer_grow_preserve gl_scratch_buffer_grow_preserve
#define __libc_scratch_buffer_set_array_size gl_scratch_buffer_set_array_size