about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2019-04-23 13:12:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2019-04-23 13:12:25 -0700
commit2d398aa272648a6078b56899db84f86f7b3bdf39 (patch)
tree636d8a21c6ab2c4d35c2939ff956d4db117d47b2
parente485b2b6e006a7efa5d73e6be7e357a395c77fe3 (diff)
downloadglibc-2d398aa272648a6078b56899db84f86f7b3bdf39.tar.gz
glibc-2d398aa272648a6078b56899db84f86f7b3bdf39.tar.xz
glibc-2d398aa272648a6078b56899db84f86f7b3bdf39.zip
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>
-rw-r--r--ChangeLog4
-rw-r--r--malloc/arena.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c36d10917..cce3b9daeb 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 efca2bcf68..8309c1334c 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)
 {