From: Mike Frysinger Date: Sun, 30 Dec 2012 00:49:11 +0000 (-0500) Subject: math: use existing nonnull attribute define X-Git-Tag: glibc-2.18~918 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c89fca6e0bd8ecf72c793965b8bdf51b883a64d;p=thirdparty%2Fglibc.git math: use existing nonnull attribute define Signed-off-by: Mike Frysinger --- diff --git a/ChangeLog b/ChangeLog index 0af916d6bf2..0a71ba7a837 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-12-30 Mike Frysinger + + * math/bits/mathcalls.h (modf): Use __nonnull. + 2012-12-29 Siddhesh Poyarekar * sysdeps/ieee754/dbl-64/branred.h: Include dla.h. diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index e0b160e19d9..9fed0c3a3d0 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