This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] math: use existing nonnull attribute define
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 29 Dec 2012 19:49:51 -0500
- Subject: [PATCH] math: use existing nonnull attribute define
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-29 Mike Frysinger <vapier@gentoo.org>
* math/bits/mathcalls.h (modf): Use __nonnull.
---
math/bits/mathcalls.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index e0b160e..9fed0c3 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -112,8 +112,7 @@ __MATHCALL (log,, (_Mdouble_ __x));
__MATHCALL (log10,, (_Mdouble_ __x));
/* Break VALUE into integral and fractional parts. */
-__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr))
- __attribute__ ((__nonnull__ (2)));
+__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
_Mdouble_END_NAMESPACE
#ifdef __USE_GNU
--
1.8.0