Mercurial > gnulib
changeset 40066:e9a68ff67aea
xmemdup0: Remove redundant code.
* lib/xmemdup0.h (xalloc_die): Remove declaration.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 04 Jan 2019 12:32:14 +0100 |
parents | 88b2ff37d1ab |
children | b5d7b6ac3542 |
files | ChangeLog lib/xmemdup0.h |
diffstat | 2 files changed, 5 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Jan 04 12:26:44 2019 +0100 +++ b/ChangeLog Fri Jan 04 12:32:14 2019 +0100 @@ -1,3 +1,8 @@ +2019-01-04 Bruno Haible <bruno@clisp.org> + + xmemdup0: Remove redundant code. + * lib/xmemdup0.h (xalloc_die): Remove declaration. + 2019-01-04 Bruno Haible <bruno@clisp.org> backupfile: Fix module dependencies.
--- a/lib/xmemdup0.h Fri Jan 04 12:26:44 2019 +0100 +++ b/lib/xmemdup0.h Fri Jan 04 12:32:14 2019 +0100 @@ -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