math: use existing nonnull attribute define

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-12-29 19:49:11 -05:00
parent 085ec079e3
commit 9c89fca6e0
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View 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