summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-07-11 15:52:55 +0200
committerAlejandro Colomar <alx@kernel.org>2023-09-22 15:59:42 +0200
commitb977681bb87da3a4c9119f1b8db262acd9a77362 (patch)
tree9455ae0fa8527ae6b405e654e9c6baba03924c8a
parente7dfb10321bd7f984f5778b2e3552c0ac998db6b (diff)
malloc.c: Remove bogus __nonnull attributenonnull
This function doesn't accept pointers. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index d0bbbf3710..58f3b37ff8 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1320,7 +1320,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
MINSIZE in case the value is less than MINSIZE, or 0 if any of the
previous checks fail. */
static inline size_t
-checked_request2size (size_t req) __nonnull (1)
+checked_request2size (size_t req)
{
if (__glibc_unlikely (req > PTRDIFF_MAX))
return 0;