This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Remove explicit inline on malloc perturb functions.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 17 Dec 2014 10:42:19 -0800 (PST)
- Subject: [COMMITTED PATCH] Remove explicit inline on malloc perturb functions.
- Authentication-results: sourceware.org; auth=none
2014-12-17 Roland McGrath <roland@hack.frob.com>
* malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1854,14 +1854,14 @@ static int check_action = DEFAULT_CHECK_ACTION;
static int perturb_byte;
-static inline void
+static void
alloc_perturb (char *p, size_t n)
{
if (__glibc_unlikely (perturb_byte))
memset (p, perturb_byte ^ 0xff, n);
}
-static inline void
+static void
free_perturb (char *p, size_t n)
{
if (__glibc_unlikely (perturb_byte))