From 701295516d0bd50d101d5b7ddeac16849ae53163 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Tue, 15 Feb 2022 12:36:42 -0600 Subject: [PATCH] mm: Export grub_mm_dump() and grub_mm_dump_free() These functions may be useful within modules as well. Export them so that modules can use them. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- include/grub/mm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/grub/mm.h b/include/grub/mm.h index 9c38dd3ca..44fde7cb9 100644 --- a/include/grub/mm.h +++ b/include/grub/mm.h @@ -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)