]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
math: use existing nonnull attribute define
authorMike Frysinger <vapier@gentoo.org>
Sun, 30 Dec 2012 00:49:11 +0000 (19:49 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 30 Dec 2012 18:00:13 +0000 (13:00 -0500)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ChangeLog
math/bits/mathcalls.h

index 0af916d6bf2a83353b14f352d46bc00650d92ae0..0a71ba7a8372ca7557264a56a0da8bdf996ae17d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * math/bits/mathcalls.h (modf): Use __nonnull.
+
 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
index e0b160e19d971a67ff26313741bd0930a924a215..9fed0c3a3d0b2b7e4c3c7e079c870b94c065db12 100644 (file)
@@ -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