# HG changeset patch # User Bruno Haible # Date 1546601534 -3600 # Node ID e9a68ff67aea3050a9b46eb7acf1122f3f46b3ef # Parent 88b2ff37d1ab65e070d13d6875cde39e7266d479 xmemdup0: Remove redundant code. * lib/xmemdup0.h (xalloc_die): Remove declaration. diff -r 88b2ff37d1ab -r e9a68ff67aea ChangeLog --- 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 + + xmemdup0: Remove redundant code. + * lib/xmemdup0.h (xalloc_die): Remove declaration. + 2019-01-04 Bruno Haible backupfile: Fix module dependencies. diff -r 88b2ff37d1ab -r e9a68ff67aea lib/xmemdup0.h --- 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