diff options
author | Andreas Jaeger <aj@suse.de> | 2011-10-15 10:08:07 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-15 10:08:07 -0400 |
commit | 556a2007974ed39a68c87a8b5181f8057ecd0d6f (patch) | |
tree | 7adf77bb1d3bdd3af09e918e0bfaee5a24cd931f /math/bits | |
parent | ab6737ffd037c56f2ded8d93ee07e6170ae0932b (diff) | |
download | glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.tar glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.tar.gz glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.tar.bz2 glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.zip |
Add parameter annotation to modf
Diffstat (limited to 'math/bits')
-rw-r--r-- | math/bits/mathcalls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index 64da6276f6..4f22abf74f 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -1,5 +1,5 @@ /* Prototype declarations for math functions; helper file for <math.h>. - Copyright (C) 1996-2002, 2003, 2006 Free Software Foundation, Inc. + Copyright (C) 1996-2002, 2003, 2006, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -113,7 +113,8 @@ __MATHCALL (log,, (_Mdouble_ __x)); __MATHCALL (log10,, (_Mdouble_ __x)); /* Break VALUE into integral and fractional parts. */ -__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)); +__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) + __attribute__ ((__nonnull__ (2))); _Mdouble_END_NAMESPACE #ifdef __USE_GNU |