summaryrefslogtreecommitdiff
path: root/libm/w_gamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/w_gamma.c')
-rw-r--r--libm/w_gamma.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libm/w_gamma.c b/libm/w_gamma.c
index 5d8bca0ee..4b23392ed 100644
--- a/libm/w_gamma.c
+++ b/libm/w_gamma.c
@@ -1,4 +1,3 @@
-/* @(#)w_gamma.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -10,10 +9,6 @@
* ====================================================
*/
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: w_gamma.c,v 1.7 1995/11/20 22:06:43 jtc Exp $";
-#endif
-
/* double gamma(double x)
* Return the logarithm of the Gamma function of x.
*
@@ -24,12 +19,7 @@ static char rcsid[] = "$NetBSD: w_gamma.c,v 1.7 1995/11/20 22:06:43 jtc Exp $";
#include "math_private.h"
libm_hidden_proto(signgam)
-#ifdef __STDC__
- double gamma(double x)
-#else
- double gamma(x)
- double x;
-#endif
+double gamma(double x)
{
#ifdef _IEEE_LIBM
return __ieee754_lgamma_r(x,&signgam);