From: Glenn Washburn Date: Tue, 15 Feb 2022 18:36:42 +0000 (-0600) Subject: mm: Export grub_mm_dump() and grub_mm_dump_free() X-Git-Tag: grub-2.12-rc1~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=701295516d0bd50d101d5b7ddeac16849ae53163;p=thirdparty%2Fgrub.git 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 --- 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)