diff options
author | Bruno Haible <bruno@clisp.org> | 2019-01-04 12:32:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-01-04 12:33:41 +0100 |
commit | 57555b78145265247e7af8c3f2eb8b4e3ea40105 (patch) | |
tree | a92f9e5af0a88681c9852f41a471767288a0f5ab /lib/xmemdup0.h | |
parent | 26a1ea46a95f86e6e24d11fd2c72c155056ab507 (diff) | |
download | gnulib-57555b78145265247e7af8c3f2eb8b4e3ea40105.tar.gz |
xmemdup0: Remove redundant code.
* lib/xmemdup0.h (xalloc_die): Remove declaration.
Diffstat (limited to 'lib/xmemdup0.h')
-rw-r--r-- | lib/xmemdup0.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/xmemdup0.h b/lib/xmemdup0.h index 5ef4995cd6..768f0b274b 100644 --- a/lib/xmemdup0.h +++ b/lib/xmemdup0.h @@ -25,13 +25,6 @@ extern "C" { # endif -/* This function is always triggered when memory is exhausted. - It must be defined by the application, either explicitly - or by using gnulib's xalloc-die module. This is the - function to call when one wants the program to die because of a - memory allocation failure. */ -extern _Noreturn void xalloc_die (void); - char *xmemdup0 (void const *p, size_t s); # ifdef __cplusplus |