summaryrefslogtreecommitdiff
path: root/libm/k_standard.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-22 15:58:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-22 15:58:54 +0000
commit38b7304e932d52c8a4b250f35a1c8bcf6805d8ca (patch)
treedb12341ab2303620d70b9de8a5d52093a7262f3a /libm/k_standard.c
parentef9bd8dd3a1a6922839db782157e3f40f3411f32 (diff)
libm/*: mass removal of:
1. static char rcsid[] = "$NetBSD: ..." 2. /* @(#)s_scalbn.c 5.1 93/09/24 */ 3. #ifdef __STDC__ No code changes (verified with objdump)
Diffstat (limited to 'libm/k_standard.c')
-rw-r--r--libm/k_standard.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/libm/k_standard.c b/libm/k_standard.c
index ed8062c3e..d9ab74579 100644
--- a/libm/k_standard.c
+++ b/libm/k_standard.c
@@ -1,4 +1,3 @@
-/* @(#)k_standard.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -10,17 +9,12 @@
* ====================================================
*/
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $";
-#endif
-
#include <math.h>
#include "math_private.h"
#include <errno.h>
#ifndef _IEEE_LIBM
-
#ifndef _USE_WRITE
#include <stdio.h> /* fputs(), stderr */
#define WRITE2(u,v) fputs(u, stderr)
@@ -30,11 +24,7 @@ static char rcsid[] = "$NetBSD: k_standard.c,v 1.6 1995/05/10 20:46:35 jtc Exp $
#undef fflush
#endif /* !defined(_USE_WRITE) */
-#ifdef __STDC__
static const double zero = 0.0; /* used as const */
-#else
-static double zero = 0.0; /* used as const */
-#endif
/*
* Standard conformance (non-IEEE) on exception cases.
@@ -83,13 +73,7 @@ static double zero = 0.0; /* used as const */
* 42-- pow(NaN,0.0)
*/
-
-#ifdef __STDC__
- double __kernel_standard(double x, double y, int type)
-#else
- double __kernel_standard(x,y,type)
- double x,y; int type;
-#endif
+double __kernel_standard(double x, double y, int type)
{
struct exception exc;
#ifndef HUGE_VAL /* this is the only routine that uses HUGE_VAL */