mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Remove explicit inline on malloc perturb functions.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2014-12-17 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
|
||||||
|
|
||||||
2014-12-17 Joseph Myers <joseph@codesourcery.com>
|
2014-12-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #17725]
|
[BZ #17725]
|
||||||
|
@@ -1854,14 +1854,14 @@ static int check_action = DEFAULT_CHECK_ACTION;
|
|||||||
|
|
||||||
static int perturb_byte;
|
static int perturb_byte;
|
||||||
|
|
||||||
static inline void
|
static void
|
||||||
alloc_perturb (char *p, size_t n)
|
alloc_perturb (char *p, size_t n)
|
||||||
{
|
{
|
||||||
if (__glibc_unlikely (perturb_byte))
|
if (__glibc_unlikely (perturb_byte))
|
||||||
memset (p, perturb_byte ^ 0xff, n);
|
memset (p, perturb_byte ^ 0xff, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static void
|
||||||
free_perturb (char *p, size_t n)
|
free_perturb (char *p, size_t n)
|
||||||
{
|
{
|
||||||
if (__glibc_unlikely (perturb_byte))
|
if (__glibc_unlikely (perturb_byte))
|
||||||
|
Reference in New Issue
Block a user