From 556a2007974ed39a68c87a8b5181f8057ecd0d6f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 15 Oct 2011 10:08:07 -0400 Subject: Add parameter annotation to modf --- math/bits/mathcalls.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'math/bits') 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 . - 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 -- cgit 1.4.1