diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-15 01:59:24 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-15 01:59:24 (GMT) |
commit | 25520640b2b5db099aaf3509ae76dd07e31ece46 (patch) | |
tree | c353ad5006817223dc6e073a010e89ad956e8dc4 /src/H5private.h | |
parent | 686dbefff5afe0a7572dccbb74ab826a24e6fcbf (diff) | |
download | hdf5-25520640b2b5db099aaf3509ae76dd07e31ece46.zip hdf5-25520640b2b5db099aaf3509ae76dd07e31ece46.tar.gz hdf5-25520640b2b5db099aaf3509ae76dd07e31ece46.tar.bz2 |
Misc normalizations with develop
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/H5private.h b/src/H5private.h index 08f69c0..d78513d 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -11,7 +11,7 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* Programmer: Robb Matzke <matzke@llnl.gov> +/* Programmer: Robb Matzke * Friday, October 30, 1998 * * Purpose: This file is included by all HDF5 library source files to @@ -572,28 +572,6 @@ #define H5_REQUEST_NULL NULL /* - * A macro to portably decrement enumerated types. - */ -#ifndef H5_DEC_ENUM -# define H5_DEC_ENUM(TYPE,VAR) (VAR)=((TYPE)((VAR)-1)) -#endif - -/* Double constant wrapper - * - * Quiets gcc warnings from -Wunsuffixed-float-constants. - * - * This is a really annoying warning since the standard specifies that - * constants of type double do NOT get a suffix so there's no way - * to specify a constant of type double. To quiet gcc, we specify floating - * point constants as type long double and cast to double. - * - * Note that this macro only needs to be used where using a double - * is important. For most code, suffixing constants with F will quiet the - * compiler and not produce erroneous code. - */ -#define H5_DOUBLE(S) ((double) S ## L) - -/* * Methods to compare the equality of floating-point values: * * 1. H5_XXX_ABS_EQUAL - check if the difference is smaller than the |