This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
[glibc] Remove do_set_mallopt_check prototype
- From: H.J.Lu <hjl at sourceware dot org>
- To: glibc-cvs at sourceware dot org
- Date: 23 Apr 2019 20:14:19 -0000
- Subject: [glibc] Remove do_set_mallopt_check prototype
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2d398aa272648a6078b56899db84f86f7b3bdf39
commit 2d398aa272648a6078b56899db84f86f7b3bdf39
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Apr 23 13:12:13 2019 -0700
Remove do_set_mallopt_check prototype
Remove do_set_mallopt_check prototype since it is unused.
* malloc/arena.c (do_set_mallopt_check): Removed.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: DJ Delorie <dj@redhat.com>
Diff:
---
ChangeLog | 4 ++++
malloc/arena.c | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 4c36d10..cce3b9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * malloc/arena.c (do_set_mallopt_check): Removed.
+
2019-04-23 Florian Weimer <fweimer@redhat.com>
locale: Add LOCPATH diagnostics to the locale program.
diff --git a/malloc/arena.c b/malloc/arena.c
index efca2bc..8309c13 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -207,7 +207,6 @@ __malloc_fork_unlock_child (void)
}
#if HAVE_TUNABLES
-static inline int do_set_mallopt_check (int32_t value);
void
TUNABLE_CALLBACK (set_mallopt_check) (tunable_val_t *valp)
{