From: Roland McGrath Date: Wed, 17 Dec 2014 18:41:28 +0000 (-0800) Subject: Remove explicit inline on malloc perturb functions. X-Git-Tag: glibc-2.21~203 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af102d9529faee5810fde80dac6337b6148789ad;p=thirdparty%2Fglibc.git Remove explicit inline on malloc perturb functions. --- diff --git a/ChangeLog b/ChangeLog index 7bfd1c9eb0b..634166dbbae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-17 Roland McGrath + + * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword. + 2014-12-17 Joseph Myers [BZ #17725] diff --git a/malloc/malloc.c b/malloc/malloc.c index cb91b97da46..875fe2ed443 100644 --- 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))