From 57555b78145265247e7af8c3f2eb8b4e3ea40105 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 4 Jan 2019 12:32:14 +0100 Subject: xmemdup0: Remove redundant code. * lib/xmemdup0.h (xalloc_die): Remove declaration. --- lib/xmemdup0.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/xmemdup0.h') 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 -- cgit v1.2.1