bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xalloc-die: don’t depend on xalloc


From: Paul Eggert
Subject: [PATCH] xalloc-die: don’t depend on xalloc
Date: Mon, 27 Jul 2020 17:22:40 -0700

This removes a circular dependency, as xalloc depends on xalloc-die.
* modules/xalloc-die (Files): Add lib/xalloc.h.
(Depends-on): Remove xalloc.
Add extern-inline, stdint, xalloc-oversized (this is for xalloc.h).
---
 ChangeLog          | 6 ++++++
 modules/xalloc-die | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d3297232f..1b3f49aa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2020-07-27  Paul Eggert  <eggert@cs.ucla.edu>
 
+       xalloc-die: don’t depend on xalloc
+       This removes a circular dependency, as xalloc depends on xalloc-die.
+       * modules/xalloc-die (Files): Add lib/xalloc.h.
+       (Depends-on): Remove xalloc.
+       Add extern-inline, stdint, xalloc-oversized (this is for xalloc.h).
+
        dfa-tests: port to MSVC
        Problem reported by Gisle Vanem in:
        https://lists.gnu.org/r/bug-gnulib/2020-07/msg00159.html
diff --git a/modules/xalloc-die b/modules/xalloc-die
index b9f875c48..23ade89e7 100644
--- a/modules/xalloc-die
+++ b/modules/xalloc-die
@@ -2,13 +2,16 @@ Description:
 Report a memory allocation failure and exit.
 
 Files:
+lib/xalloc.h
 lib/xalloc-die.c
 
 Depends-on:
-xalloc
 error
+extern-inline
 gettext-h
 exitfail
+stdint
+xalloc-oversized
 
 configure.ac:
 
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]