From 38b7304e932d52c8a4b250f35a1c8bcf6805d8ca Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 22 Dec 2008 15:58:54 +0000 Subject: 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) --- libm/k_standard.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'libm/k_standard.c') 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 #include "math_private.h" #include #ifndef _IEEE_LIBM - #ifndef _USE_WRITE #include /* 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 */ -- cgit v1.2.3