]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify -Wmissing-variable-declarations for lisp_malloc_user
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 14 Jul 2024 22:03:05 +0000 (23:03 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 17 Jul 2024 21:53:38 +0000 (23:53 +0200)
* src/alloc.c (lisp_malloc_user) [!USE_LSB_TAG]:
Provide extern decl.

(cherry picked from commit a4bafce01e605ddcfff7a4de018b50ad96ea6f8a)

src/alloc.c

index 666f77bfce1b0458ad27f304f215dd93fb9504c3..37069ee4c9e0a250f543017b01152efa81065ab3 100644 (file)
@@ -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