emacs-diffs
[Top][All Lists]
Advanced

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

master a4bafce01e6 04/13: Pacify -Wmissing-variable-declarations for lis


From: Paul Eggert
Subject: master a4bafce01e6 04/13: Pacify -Wmissing-variable-declarations for lisp_malloc_user
Date: Tue, 16 Jul 2024 18:37:44 -0400 (EDT)

branch: master
commit a4bafce01e605ddcfff7a4de018b50ad96ea6f8a
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Pacify -Wmissing-variable-declarations for lisp_malloc_user
    
    * src/alloc.c (lisp_malloc_user) [!USE_LSB_TAG]:
    Provide extern decl.
---
 src/alloc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/alloc.c b/src/alloc.c
index 666f77bfce1..37069ee4c9e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -998,6 +998,7 @@ record_xmalloc (size_t size)
    allocated memory block (for strings, for conses, ...).  */
 
 #if ! USE_LSB_TAG
+extern void *lisp_malloc_loser;
 void *lisp_malloc_loser EXTERNALLY_VISIBLE;
 #endif
 



reply via email to

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