]> Savannah Git Hosting - gnulib.git/commitdiff
xmemdup0: Remove redundant code.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Jan 2019 11:32:14 +0000 (12:32 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Jan 2019 11:33:41 +0000 (12:33 +0100)
* lib/xmemdup0.h (xalloc_die): Remove declaration.

ChangeLog
lib/xmemdup0.h

index 790256aa329c5646d50120c9e2ceeb97f101f3f2..5672c3be239331742917b3ee7e102be8250a9345 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 5ef4995cd678be42a2444fe1ebebb0c9fc223802..768f0b274b66dea500503b84fabf6552c4224e54 100644 (file)
 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