From ba3594ba9b5dd4c846c472a8d657edcb7c8109ac Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 2 Aug 2014 18:23:32 -0700 Subject: 5066 remove support for non-ANSI compilation 5068 Remove SCCSID() macro from Reviewed by: Keith Wesolowski Reviewed by: Josef 'Jeff' Sipek Approved by: Robert Mustacchi --- usr/src/head/float.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'usr/src/head/float.h') diff --git a/usr/src/head/float.h b/usr/src/head/float.h index a3e2dd6c4f..9e0fe24f80 100644 --- a/usr/src/head/float.h +++ b/usr/src/head/float.h @@ -24,6 +24,8 @@ /* + * Copyright 2014 Garrett D'Amore + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -31,8 +33,6 @@ #ifndef _FLOAT_H #define _FLOAT_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include #ifdef __cplusplus @@ -41,20 +41,13 @@ extern "C" { #if defined(__sparc) -#if defined(__STDC__) extern int __flt_rounds(void); -#else /* defined(__STDC__) */ -extern int __flt_rounds(); -#endif /* defined(__STDC__) */ #define FLT_ROUNDS __flt_rounds() #else /* defined(__sparc) */ -#if defined(__STDC__) extern int __fltrounds(void); -#else /* defined (__STDC__) */ -extern int __fltrounds(); -#endif /* defined(__STDC__) */ + #if defined(__amd64) #define FLT_ROUNDS __fltrounds() #else /* defined(__amd64) */ -- cgit v1.2.3