diff mbox series

[committed,1/2] Move mcheck symbol from stdlib to malloc

Message ID 20210708131624.2005357-2-siddhesh@sourceware.org
State New
Headers show
Series Trivial malloc cleanups | expand

Commit Message

Siddhesh Poyarekar July 8, 2021, 1:16 p.m. UTC
It is defined in malloc, so it belongs there.  Verified on x86_64 that
the built libraries are identical despite this change.
---
 malloc/Versions | 2 +-
 stdlib/Versions | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/malloc/Versions b/malloc/Versions
index 62e4698a08..470a940666 100644
--- a/malloc/Versions
+++ b/malloc/Versions
@@ -26,7 +26,7 @@  libc {
 
     # m*
     mallinfo; malloc; malloc_get_state; malloc_set_state; malloc_stats;
-    malloc_trim; malloc_usable_size; mallopt; memalign; mprobe; mtrace;
+    malloc_trim; malloc_usable_size; mallopt; mcheck; memalign; mprobe; mtrace;
     muntrace;
 
     # o*
diff --git a/stdlib/Versions b/stdlib/Versions
index 9e665d4c26..5e9099a153 100644
--- a/stdlib/Versions
+++ b/stdlib/Versions
@@ -40,7 +40,7 @@  libc {
 
     # m*
     mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs;
-    mbtowc; mcheck; mcount; mrand48; mrand48_r;
+    mbtowc; mcount; mrand48; mrand48_r;
 
     # n*
     nrand48; nrand48_r;