aboutsummaryrefslogtreecommitdiff
path: root/math/bits
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2011-10-15 10:08:07 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-15 10:08:07 -0400
commit556a2007974ed39a68c87a8b5181f8057ecd0d6f (patch)
tree7adf77bb1d3bdd3af09e918e0bfaee5a24cd931f /math/bits
parentab6737ffd037c56f2ded8d93ee07e6170ae0932b (diff)
downloadglibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.zip
glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.tar.gz
glibc-556a2007974ed39a68c87a8b5181f8057ecd0d6f.tar.bz2
Add parameter annotation to modf
Diffstat (limited to 'math/bits')
-rw-r--r--math/bits/mathcalls.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index 64da627..4f22abf 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