diff options
author | Garrett D'Amore <garrett@damore.org> | 2014-08-02 18:23:32 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@damore.org> | 2014-08-15 11:49:54 -0700 |
commit | ba3594ba9b5dd4c846c472a8d657edcb7c8109ac (patch) | |
tree | 1e072a76d8376217ff49110ecdc09171d2d8a07c /usr/src/head/float.h | |
parent | d8ccf998f9c944b8cf27ed840c376f9b79ebce5c (diff) | |
download | illumos-gate-ba3594ba9b5dd4c846c472a8d657edcb7c8109ac.tar.gz |
5066 remove support for non-ANSI compilation
5068 Remove SCCSID() macro from <macros.h>
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/head/float.h')
-rw-r--r-- | usr/src/head/float.h | 13 |
1 files changed, 3 insertions, 10 deletions
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 <garrett@damore.org> + * * 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 <sys/feature_tests.h> #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) */ |