]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
mm: Export grub_mm_dump() and grub_mm_dump_free()
authorGlenn Washburn <development@efficientek.com>
Tue, 15 Feb 2022 18:36:42 +0000 (12:36 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 7 Mar 2022 14:14:00 +0000 (15:14 +0100)
These functions may be useful within modules as well. Export them so that
modules can use them.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/mm.h

index 9c38dd3ca5d27cf283e18ee54de678666c7b154a..44fde7cb90335963604de888acd57d7dd412c393 100644 (file)
@@ -46,8 +46,8 @@ void grub_mm_check_real (const char *file, int line);
 /* Set this variable to 1 when you want to trace all memory function calls.  */
 extern int EXPORT_VAR(grub_mm_debug);
 
-void grub_mm_dump_free (void);
-void grub_mm_dump (unsigned lineno);
+void EXPORT_FUNC(grub_mm_dump_free) (void);
+void EXPORT_FUNC(grub_mm_dump) (unsigned lineno);
 
 #define grub_calloc(nmemb, size)       \
   grub_debug_calloc (GRUB_FILE, __LINE__, nmemb, size)